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…
Reference in New Issue