Small cleanup
This commit is contained in:
parent
674814e322
commit
e759dca9db
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ class DefaultNotificationCreator(
|
||||||
|
|
||||||
val messagingStyle = existingNotification?.let {
|
val messagingStyle = existingNotification?.let {
|
||||||
MessagingStyle.extractMessagingStyleFromNotification(it)
|
MessagingStyle.extractMessagingStyleFromNotification(it)
|
||||||
} ?: messagingStyleFromCurrentUser(
|
} ?: createMessagingStyleFromCurrentUser(
|
||||||
user = notificationAccountParams.user,
|
user = notificationAccountParams.user,
|
||||||
imageLoader = imageLoader,
|
imageLoader = imageLoader,
|
||||||
roomName = roomInfo.roomDisplayName,
|
roomName = roomInfo.roomDisplayName,
|
||||||
|
|
@ -437,7 +437,7 @@ class DefaultNotificationCreator(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun messagingStyleFromCurrentUser(
|
private suspend fun createMessagingStyleFromCurrentUser(
|
||||||
user: MatrixUser,
|
user: MatrixUser,
|
||||||
imageLoader: ImageLoader,
|
imageLoader: ImageLoader,
|
||||||
roomName: String,
|
roomName: String,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue