diff --git a/libdino/src/util/display_name.vala b/libdino/src/util/display_name.vala index b591eb0a..42b30600 100644 --- a/libdino/src/util/display_name.vala +++ b/libdino/src/util/display_name.vala @@ -34,6 +34,7 @@ namespace Dino { if (self_word != null && (account.alias == null || account.alias.length == 0)) { return self_word; } + if (account.alias != null && account.alias.length == 0) return null; return account.alias; } Roster.Item roster_item = stream_interactor.get_module(RosterManager.IDENTITY).get_roster_item(account, jid);