Mercurial > prosody-modules
changeset 522:0c756f62758d
Merge
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Jan 2012 12:13:14 +0100 |
parents | 6d0d2673f95e (diff) 219ffe3541ff (current diff) |
children | eff140d53b83 |
files | |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua Thu Jan 05 01:37:53 2012 +0000 +++ b/mod_carbons/mod_carbons.lua Fri Jan 06 12:13:14 2012 +0100 @@ -1,3 +1,8 @@ +-- XEP-0280: Message Carbons implementation for Prosody +-- Copyright (C) 2011 Kim Alvefur +-- +-- This file is MIT/X11 licensed. + local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; @@ -5,8 +10,6 @@ local xmlns_forward = "urn:xmpp:forward:0"; local host_sessions = hosts[module.host].sessions; --- TODO merge message handlers into one somehow - module:hook("iq/self/"..xmlns_carbons..":enable", function(event) local origin, stanza = event.origin, event.stanza; if stanza.attr.type == "set" then