plugins/mod_mam/mod_mam.lua
changeset 12238 1c47162dd965
parent 12034 9f8206e99b89
child 12310 81fc7fc77e68
equal deleted inserted replaced
12237:e4530bdbf5f3 12238:1c47162dd965
   368 	end
   368 	end
   369 	if stanza:get_child("x", "jabber:x:conference")
   369 	if stanza:get_child("x", "jabber:x:conference")
   370 	or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
   370 	or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
   371 		return true, "invite";
   371 		return true, "invite";
   372 	end
   372 	end
   373 	if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
   373 	if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then
   374 		-- XXX Experimental XEP
   374 		-- XXX Experimental XEP
   375 		return true, "jingle call";
   375 		return true, "jingle call";
   376 	end
   376 	end
   377 
   377 
   378 	 -- The IM-NG thing to do here would be to return `not st_to_full`
   378 	 -- The IM-NG thing to do here would be to return `not st_to_full`