Commit ad036ea7 authored by Viktor Liu's avatar Viktor Liu

Remove split of fullname. Fixes #609

parent 55593245
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
- #592 Add random resource for `auto_login`, add method generateResource to generate random resource [davec82] - #592 Add random resource for `auto_login`, add method generateResource to generate random resource [davec82]
- #598 Add option `synchronize_availability` [davec82] - #598 Add option `synchronize_availability` [davec82]
- #600 Fix change xmpp status also on icon-status click [davec82] - #600 Fix change xmpp status also on icon-status click [davec82]
- #616 converse-otr should depend on converse-minimize [jcbrand]
- #609 Remove split of fullname [lixmal]
## 0.10.1 (2016-02-06) ## 0.10.1 (2016-02-06)
......
...@@ -1241,7 +1241,9 @@ ...@@ -1241,7 +1241,9 @@
} else { } else {
from = Strophe.getBareJidFromJid($message.attr('from')); from = Strophe.getBareJidFromJid($message.attr('from'));
} }
fullname = (_.isEmpty(fullname) ? from: fullname).split(' ')[0]; if (_.isEmpty(fullname)) {
fullname = from;
}
if (delayed) { if (delayed) {
stamp = $delay.attr('stamp'); stamp = $delay.attr('stamp');
time = stamp; time = stamp;
......
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