MM-62050: restrict channel bookmarks in archived channels (#29490)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ae9e6174e5
Коммит
f52e08754c
@@ -57,6 +57,11 @@ export const getHaveIChannelBookmarkPermission = (state: GlobalState, channelId:
|
||||
if (!channel) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (channel.delete_at !== 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const {type} = channel;
|
||||
|
||||
if (type === 'threads') {
|
||||
|
||||
Ссылка в новой задаче
Block a user