Commit 0d9d632f authored by JC Brand's avatar JC Brand

Bugfix for #493

parent f3e2de99
...@@ -4313,7 +4313,7 @@ ...@@ -4313,7 +4313,7 @@
*/ */
var id = iq.getAttribute('id'); var id = iq.getAttribute('id');
var from = iq.getAttribute('from'); var from = iq.getAttribute('from');
if (from && from !== "" && from != converse.bare_jid) { if (from && from !== "" && Strophe.getNodeFromJid(from) != converse.bare_jid) {
// Receiving client MUST ignore stanza unless it has no from or from = user's bare JID. // Receiving client MUST ignore stanza unless it has no from or from = user's bare JID.
converse.connection.send( converse.connection.send(
$iq({type: 'error', id: id, from: converse.connection.jid}) $iq({type: 'error', id: id, from: converse.connection.jid})
......
...@@ -6,6 +6,7 @@ Changelog ...@@ -6,6 +6,7 @@ Changelog
* #462 Fix MUC rooms with names containing special characters not working [1st8] * #462 Fix MUC rooms with names containing special characters not working [1st8]
* #468 Fix [object Object] being sometimes shown as status [1st8] * #468 Fix [object Object] being sometimes shown as status [1st8]
* #493 Roster wasn't being updated after a Roster push update [teseo, jcbrand]
0.9.5 (2015-08-24) 0.9.5 (2015-08-24)
------------------ ------------------
......
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