Software /
code /
prosody
Comparison
plugins/mod_message.lua @ 11482:671f6b867e0d
mod_message: Stop advertising offline message support (mod_offline does that)
mod_offline also already advertises this feature, so it's added twice.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Mar 2021 16:36:00 +0100 |
parent | 8728:41c959c5c84b |
child | 11797:72a2b85c0537 |
comparison
equal
deleted
inserted
replaced
11481:b2f9782497dd | 11482:671f6b867e0d |
---|---|
78 -- message to bare JID received | 78 -- message to bare JID received |
79 local origin, stanza = data.origin, data.stanza; | 79 local origin, stanza = data.origin, data.stanza; |
80 | 80 |
81 return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza); | 81 return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza); |
82 end, -1); | 82 end, -1); |
83 | |
84 module:add_feature("msgoffline"); |