forked from GitHub-Mirror/riotX-android
FIx / crash notification drawer empty nam
This commit is contained in:
parent
34ac987494
commit
fc302c1b5a
@ -184,7 +184,7 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
|
||||
|
||||
val session = activeSessionHolder.getActiveSession()
|
||||
val user = session.getUser(session.sessionParams.credentials.userId)
|
||||
val myUserDisplayName = user?.displayName ?: ""
|
||||
val myUserDisplayName = user?.displayName ?: session.sessionParams.credentials.userId
|
||||
val myUserAvatarUrl = session.contentUrlResolver().resolveThumbnail(user?.avatarUrl, avatarSize, avatarSize, ContentUrlResolver.ThumbnailMethod.SCALE)
|
||||
synchronized(eventList) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user