Bugfix. JIDs not shown in chatrooms. fixes #282

This commit is contained in:
JC Brand 2014-11-25 09:55:15 +01:00
parent 03c92b4487
commit e246335b03
2 changed files with 2 additions and 2 deletions

View File

@ -1077,7 +1077,7 @@
msg_time = moment(msg_dict.time) || moment, msg_time = moment(msg_dict.time) || moment,
text = msg_dict.message, text = msg_dict.message,
match = text.match(/^\/(.*?)(?: (.*))?$/), match = text.match(/^\/(.*?)(?: (.*))?$/),
fullname = this.model.get('fullname'), // XXX Perhaps always use model's? fullname = this.model.get('fullname') || msg_dict.fullname,
extra_classes = msg_dict.delayed && 'delayed' || '', extra_classes = msg_dict.delayed && 'delayed' || '',
template, username; template, username;

View File

@ -4,7 +4,7 @@ Changelog
0.8.4 (Unreleased) 0.8.4 (Unreleased)
------------------ ------------------
* #234 Cannot send/receive messages when contact JIDs have mixed case. [jcbrand] * #282 JIDs or nicknames not shown in chat rooms. [jcbrand]
0.8.4 (2014-11-15) 0.8.4 (2014-11-15)
------------------ ------------------