equal
deleted
inserted
replaced
51 -- Normal outgoing chat messages are sent to=bare JID. This clause should |
51 -- Normal outgoing chat messages are sent to=bare JID. This clause should |
52 -- match the error bounces from those, which would have from=bare JID and |
52 -- match the error bounces from those, which would have from=bare JID and |
53 -- be incoming (not c2s). |
53 -- be incoming (not c2s). |
54 if st_type == "error" and not c2s and is_bare(stanza.attr.from) then |
54 if st_type == "error" and not c2s and is_bare(stanza.attr.from) then |
55 return true, "bounce"; |
55 return true, "bounce"; |
|
56 end |
|
57 |
|
58 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then |
|
59 -- XXX Experimental XEP stuck in Proposed for almost a year at the time of this comment |
|
60 return true, "jingle call"; |
56 end |
61 end |
57 |
62 |
58 for archived in stanza:childtags("stanza-id", "urn:xmpp:sid:0") do |
63 for archived in stanza:childtags("stanza-id", "urn:xmpp:sid:0") do |
59 if archived and archived.attr.by == user_bare then |
64 if archived and archived.attr.by == user_bare then |
60 return true, "archived"; |
65 return true, "archived"; |