Browse Source

Fixes #232 Always get full name from model.

JC Brand 10 years ago
parent
commit
efa56ffb33
2 changed files with 2 additions and 1 deletions
  1. 1 1
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 1 - 1
converse.js

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

+ 1 - 0
docs/CHANGES.rst

@@ -14,6 +14,7 @@ Changelog
   any prebind session tokens. [jcbrand]
 * #46 Refactor the API and add new methods. [jcbrand]
 * #151 Browser locks/freezes with many roster users. [jcbrand]
+* #232 Always get full name from model. [jcbrand]
 * #237 Unable to create room when ``hide_muc_server`` is ``true``. [jcbrand]
 * #238 Rooms are not shown when ``hide_offline_users`` is ``true``. [jcbrand]
 * #251 Non-minified builds for debugging. [jcbrand]