fix(ActivityCenter): Fix Community and Chat badges in the Activity Center (#12866)
Close #10311
This commit is contained in:
parent
4225873cf4
commit
26d867a63a
|
@ -174,6 +174,8 @@ method convertToItems*(
|
||||||
if (notification.notificationType == ActivityCenterNotificationType.ContactVerification):
|
if (notification.notificationType == ActivityCenterNotificationType.ContactVerification):
|
||||||
repliedMessageItem = self.createMessageItemFromDto(notification.replyMessage, communityId, @[])
|
repliedMessageItem = self.createMessageItemFromDto(notification.replyMessage, communityId, @[])
|
||||||
|
|
||||||
|
let chatDetails = self.controller.getChatDetails(notification.chatId)
|
||||||
|
|
||||||
return notification_item.initItem(
|
return notification_item.initItem(
|
||||||
notification.id,
|
notification.id,
|
||||||
notification.chatId,
|
notification.chatId,
|
||||||
|
@ -190,7 +192,7 @@ method convertToItems*(
|
||||||
notification.accepted,
|
notification.accepted,
|
||||||
messageItem,
|
messageItem,
|
||||||
repliedMessageItem,
|
repliedMessageItem,
|
||||||
ChatType.Unknown # TODO: should use correct chat type
|
chatDetails.chatType
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue