mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Map roomInfo.numUnreadNotifications to RoomSummaryDetails.numUnreadNotifications
This commit is contained in:
+2
@@ -115,6 +115,7 @@ fun aRoomSummaryDetails(
|
||||
isDm: Boolean = false,
|
||||
numUnreadMentions: Int = 0,
|
||||
numUnreadMessages: Int = 0,
|
||||
numUnreadNotifications: Int = 0,
|
||||
) = RoomSummaryDetails(
|
||||
roomId = roomId,
|
||||
name = name,
|
||||
@@ -128,4 +129,5 @@ fun aRoomSummaryDetails(
|
||||
isDm = isDm,
|
||||
numUnreadMentions = numUnreadMentions,
|
||||
numUnreadMessages = numUnreadMessages,
|
||||
numUnreadNotifications = numUnreadNotifications,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user