git » sdk » commit 95a83ef

Old JMI said to send this to yourself

author Stephen Paul Weber
2025-10-29 20:27:39 UTC
committer Stephen Paul Weber
2025-10-29 20:28:39 UTC
parent 35cbacf962d18061f9cc8551e0e907707321f8ed

Old JMI said to send this to yourself

New JMI doesn't say to send it at all. If we get it, ignore it.

borogove/Message.hx +1 -1

diff --git a/borogove/Message.hx b/borogove/Message.hx
index a5fd39f..ed2a31c 100644
--- a/borogove/Message.hx
+++ b/borogove/Message.hx
@@ -205,7 +205,7 @@ class Message {
 		}
 
 		final jmi = stanza.getChild(null, "urn:xmpp:jingle-message:0");
-		if (jmi != null) {
+		if (jmi != null && jmi.name != "accept") {
 			msg.type = MessageCall;
 			msg.payloads.push(jmi);
 			if (msg.text == null) msg.text = "call " + jmi.name;