mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_csi_simple: Consider messages with subject (eg MUC joins) (fixes part of #1250)
This commit is contained in:
parent
05b481ec89
commit
e03098631f
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ module:hook("csi-is-stanza-important", function (event)
|
|||
if stanza:get_child("body") then
|
||||
return true;
|
||||
end
|
||||
if stanza:get_child("subject") then
|
||||
return true;
|
||||
end
|
||||
return false;
|
||||
end
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue