equal
deleted
inserted
replaced
104 -- chat markers (XEP-0333) are important, too, because some clients use them to update their notifications |
104 -- chat markers (XEP-0333) are important, too, because some clients use them to update their notifications |
105 if stanza:child_with_ns("urn:xmpp:chat-markers:0") then return true; end; |
105 if stanza:child_with_ns("urn:xmpp:chat-markers:0") then return true; end; |
106 |
106 |
107 -- XEP-0353: Jingle Message Initiation incoming call messages |
107 -- XEP-0353: Jingle Message Initiation incoming call messages |
108 if stanza:child_with_ns("urn:xmpp:jingle-message:0") then return true; end |
108 if stanza:child_with_ns("urn:xmpp:jingle-message:0") then return true; end |
|
109 if stanza:child_with_ns("urn:xmpp:jingle-message:1") then return true; end |
109 |
110 |
110 -- carbon copied outgoing messages are important (some clients update their notifications upon receiving those) --> don't return false here |
111 -- carbon copied outgoing messages are important (some clients update their notifications upon receiving those) --> don't return false here |
111 --if carbon and stanza_direction == "out" then return false; end |
112 --if carbon and stanza_direction == "out" then return false; end |
112 |
113 |
113 -- We can't check for body contents in encrypted messages, so let's treat them as important |
114 -- We can't check for body contents in encrypted messages, so let's treat them as important |