Fix empty alias being handled different than none
This commit is contained in:
parent
03e367ecb8
commit
6e60cfcbbe
|
@ -34,6 +34,7 @@ namespace Dino {
|
||||||
if (self_word != null && (account.alias == null || account.alias.length == 0)) {
|
if (self_word != null && (account.alias == null || account.alias.length == 0)) {
|
||||||
return self_word;
|
return self_word;
|
||||||
}
|
}
|
||||||
|
if (account.alias != null && account.alias.length == 0) return null;
|
||||||
return account.alias;
|
return account.alias;
|
||||||
}
|
}
|
||||||
Roster.Item roster_item = stream_interactor.get_module(RosterManager.IDENTITY).get_roster_item(account, jid);
|
Roster.Item roster_item = stream_interactor.get_module(RosterManager.IDENTITY).get_roster_item(account, jid);
|
||||||
|
|
Loading…
Reference in a new issue