Mercurial > prosody-hg
comparison plugins/mod_message.lua @ 8136:aba6d148e674
mod_message: Remove TODO about privacy list (mod_privacy was removed)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 27 Apr 2017 10:58:02 +0200 |
| parents | beaeafedc2d7 |
| children | 4119cca64064 |
comparison
equal
deleted
inserted
replaced
| 8135:e20c27e04ecc | 8136:aba6d148e674 |
|---|---|
| 46 end | 46 end |
| 47 -- no resources are online | 47 -- no resources are online |
| 48 local node, host = jid_split(bare); | 48 local node, host = jid_split(bare); |
| 49 local ok | 49 local ok |
| 50 if user_exists(node, host) then | 50 if user_exists(node, host) then |
| 51 -- TODO apply the default privacy list | |
| 52 | |
| 53 ok = module:fire_event('message/offline/handle', { | 51 ok = module:fire_event('message/offline/handle', { |
| 54 origin = origin, | 52 origin = origin, |
| 55 stanza = stanza, | 53 stanza = stanza, |
| 56 }); | 54 }); |
| 57 end | 55 end |
