mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Small cleanup
This commit is contained in:
committed by
Benoit Marty
parent
674814e322
commit
e759dca9db
+2
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user