Software /
code /
prosody
Comparison
plugins/mod_message.lua @ 3972:a05cf5d9c7ab
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 |
parent | 3970:0f9ab57a1aee |
child | 4759:c4a0c420d232 |
comparison
equal
deleted
inserted
replaced
3971:faace741d0f9 | 3972:a05cf5d9c7ab |
---|---|
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 |