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
|
hideIfPermissionsNotMet = communityChat.hideIfPermissionsNotMet
|
||||||
viewersCanPostReactions = communityChat.viewersCanPostReactions
|
viewersCanPostReactions = communityChat.viewersCanPostReactions
|
||||||
else:
|
else:
|
||||||
|
canPost = chatDto.canPost
|
||||||
|
canView = chatDto.canView
|
||||||
canPostReactions = chatDto.canPostReactions
|
canPostReactions = chatDto.canPostReactions
|
||||||
hideIfPermissionsNotMet = chatDto.hideIfPermissionsNotMet
|
hideIfPermissionsNotMet = chatDto.hideIfPermissionsNotMet
|
||||||
viewersCanPostReactions = chatDto.viewersCanPostReactions
|
viewersCanPostReactions = chatDto.viewersCanPostReactions
|
||||||
|
|
Loading…
Reference in New Issue