mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_csi_simple: Consider messages forwarded from another of the users clients as important (fixes part of #1250)
This commit is contained in:
parent
38c98346b1
commit
9251fa5500
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ module:hook("csi-is-stanza-important", function (event)
|
|||
if st_type == "headline" then
|
||||
return false;
|
||||
end
|
||||
if stanza:get_child("sent", "urn:xmpp:carbons:2") then
|
||||
return true;
|
||||
end
|
||||
if stanza:get_child("body") then
|
||||
return true;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue