Format file
This commit is contained in:
parent
9939c43f36
commit
20df9647d3
1 changed files with 4 additions and 4 deletions
|
|
@ -446,10 +446,10 @@ class DefaultNotificationCreator @Inject constructor(
|
||||||
): MessagingStyle {
|
): MessagingStyle {
|
||||||
return MessagingStyle(
|
return MessagingStyle(
|
||||||
Person.Builder()
|
Person.Builder()
|
||||||
.setName(user.displayName?.annotateForDebug(50))
|
.setName(user.displayName?.annotateForDebug(50))
|
||||||
.setIcon(bitmapLoader.getUserIcon(user.avatarUrl, imageLoader))
|
.setIcon(bitmapLoader.getUserIcon(user.avatarUrl, imageLoader))
|
||||||
.setKey(sessionId.value)
|
.setKey(sessionId.value)
|
||||||
.build()
|
.build()
|
||||||
).also {
|
).also {
|
||||||
it.conversationTitle = roomName.takeIf { roomIsGroup }
|
it.conversationTitle = roomName.takeIf { roomIsGroup }
|
||||||
it.isGroupConversation = roomIsGroup
|
it.isGroupConversation = roomIsGroup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue