Commit b310d8a1 authored by JC Brand's avatar JC Brand

Add more logging to try and debug 431

parent 722c172f
...@@ -3296,12 +3296,12 @@ ...@@ -3296,12 +3296,12 @@
is_me = from_bare_jid == converse.bare_jid; is_me = from_bare_jid == converse.bare_jid;
if (to_resource && to_resource !== converse.resource) { if (to_resource && to_resource !== converse.resource) {
// Ignore messages sent to a different resource converse.log('Ignore incoming message intended for a different resource: '+from_jid, 'info');
return true; return true;
} }
if (message_from === converse.connection.jid) { if (message_from === converse.connection.jid) {
// FIXME: Forwarded messages should be sent to specific resources, // FIXME: Forwarded messages should be sent to specific resources, not broadcasted
// not broadcasted converse.log("Ignore incoming message sent from this client's JID: "+from_jid, 'info');
return true; return true;
} }
$forwarded = $message.children('forwarded'); $forwarded = $message.children('forwarded');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment