fix crash when Account.displayName is null (#1667)

This commit is contained in:
Konrad Pozniak 2020-02-07 20:23:51 +01:00 committed by GitHub
commit 88b8eca16a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -166,7 +166,7 @@ fun Account.toEntity() =
ConversationAccountEntity(
id,
username,
displayName,
displayName.orEmpty(),
avatar,
emojis ?: emptyList()
)