diff options
author | Marvin W <git@larma.de> | 2023-04-22 20:07:09 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-04-22 20:08:49 +0200 |
commit | 6e60cfcbbe6a1310acb23f975f227a176aa83006 (patch) | |
tree | b210295a33ca6416fa38208decb311728d63645c | |
parent | 03e367ecb88fe142a6244b397ca32531160ccbb0 (diff) | |
download | dino-6e60cfcbbe6a1310acb23f975f227a176aa83006.tar.gz dino-6e60cfcbbe6a1310acb23f975f227a176aa83006.zip |
Fix empty alias being handled different than none
-rw-r--r-- | libdino/src/util/display_name.vala | 1 |
1 files changed, 1 insertions, 0 deletions
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); |