Merge pull request #468 from 1st8/master

Fix [object Object] being sometimes shown as status
This commit is contained in:
JC Brand 2015-09-09 14:16:05 +02:00
commit 64878ec6e0
2 changed files with 2 additions and 1 deletions

View File

@ -4457,7 +4457,7 @@
if ((converse.connection.jid !== jid)&&(presence_type !== 'unavailable')) {
// Another resource has changed its status, we'll update ours as well.
converse.xmppstatus.save({'status': chat_status});
if (status_message.length) { converse.xmppstatus.save({'status_message': status_message}); }
if (status_message.length) { converse.xmppstatus.save({'status_message': status_message.text()}); }
}
return;
} else if (($presence.find('x').attr('xmlns') || '').indexOf(Strophe.NS.MUC) === 0) {

View File

@ -5,6 +5,7 @@ Changelog
------------------
* #462 Fix MUC rooms with names containing special characters not working [1st8]
* #468 Fix [object Object] being sometimes shown as status [1st8]
0.9.5 (2015-08-24)
------------------