Software /
code /
prosody-modules
Changeset
3539:6d51f44bc725
mod_csi_muc_priorities: Consider own MUC messages as important
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 01 Apr 2019 13:19:29 +0200 |
parents | 3538:946902fa4088 |
children | 3540:1b45bac50f3d |
files | mod_csi_muc_priorities/mod_csi_muc_priorities.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_csi_muc_priorities/mod_csi_muc_priorities.lua Mon Apr 01 13:19:07 2019 +0200 +++ b/mod_csi_muc_priorities/mod_csi_muc_priorities.lua Mon Apr 01 13:19:29 2019 +0200 @@ -27,6 +27,9 @@ if body:find(room_nick, 1, true) then return true; end + if stanza.attr.from == (room_jid .. "/" .. room_nick) then + return true; + end end end end