Remove split of fullname. Fixes #609
This commit is contained in:
parent
55593245f3
commit
ad036ea75f
@ -25,6 +25,8 @@
|
||||
- #592 Add random resource for `auto_login`, add method generateResource to generate random resource [davec82]
|
||||
- #598 Add option `synchronize_availability` [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)
|
||||
|
||||
|
@ -1241,7 +1241,9 @@
|
||||
} else {
|
||||
from = Strophe.getBareJidFromJid($message.attr('from'));
|
||||
}
|
||||
fullname = (_.isEmpty(fullname) ? from: fullname).split(' ')[0];
|
||||
if (_.isEmpty(fullname)) {
|
||||
fullname = from;
|
||||
}
|
||||
if (delayed) {
|
||||
stamp = $delay.attr('stamp');
|
||||
time = stamp;
|
||||
|
Loading…
Reference in New Issue
Block a user