gajim: fix for missing FN field
The full name is not always present. If so, fallback to nickname or Jabber ID. Based on a patch by Łukasz Faber <nnidyu@annwn.eu>
This commit is contained in:
@@ -113,7 +113,7 @@ Source.prototype = {
|
||||
},
|
||||
|
||||
_gotContactInfos: function(result, excp) {
|
||||
this.title = result['FN'];
|
||||
this.title = result['FN'] || result['NICKNAME'] || result['jid'];
|
||||
|
||||
let avatarUri = null;
|
||||
if (result['PHOTO']) {
|
||||
|
||||
Reference in New Issue
Block a user