Mercurial > prosody-hg
comparison plugins/mod_message.lua @ 4040:898399fd8da1
mod_message, mod_offline: Change message/offline/store -> message/offline/handle
| author | Robert Hoelz <rob@hoelz.ro> |
|---|---|
| date | Thu, 09 Dec 2010 12:41:30 -0600 |
| parents | 1bd93c6ac3bd |
| children | c4a0c420d232 |
comparison
equal
deleted
inserted
replaced
| 4039:1c387a4c3e28 | 4040:898399fd8da1 |
|---|---|
| 46 local node, host = jid_split(bare); | 46 local node, host = jid_split(bare); |
| 47 local ok | 47 local ok |
| 48 if user_exists(node, host) then | 48 if user_exists(node, host) then |
| 49 -- TODO apply the default privacy list | 49 -- TODO apply the default privacy list |
| 50 | 50 |
| 51 ok = module:fire_event('message/offline/store', { | 51 ok = module:fire_event('message/offline/handle', { |
| 52 origin = origin, | 52 origin = origin, |
| 53 stanza = stanza, | 53 stanza = stanza, |
| 54 }); | 54 }); |
| 55 end | 55 end |
| 56 | 56 |
