mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 13:32:22 +00:00
hotfix: use canPost and canView from chat in case of a new channel (#15003)
This commit is contained in:
parent
c53c8bb08a
commit
6c053dd251
@ -710,6 +710,8 @@ proc getChatItemFromChatDto(
|
||||
hideIfPermissionsNotMet = communityChat.hideIfPermissionsNotMet
|
||||
viewersCanPostReactions = communityChat.viewersCanPostReactions
|
||||
else:
|
||||
canPost = chatDto.canPost
|
||||
canView = chatDto.canView
|
||||
canPostReactions = chatDto.canPostReactions
|
||||
hideIfPermissionsNotMet = chatDto.hideIfPermissionsNotMet
|
||||
viewersCanPostReactions = chatDto.viewersCanPostReactions
|
||||
|
Loading…
x
Reference in New Issue
Block a user