MM-62050: restrict channel bookmarks in archived channels (#29490)

Этот коммит содержится в:
Caleb Roseland
2025-02-04 15:10:32 -06:00
коммит произвёл GitHub
родитель ae9e6174e5
Коммит f52e08754c
5 изменённых файлов: 236 добавлений и 1 удалений

Просмотреть файл

@@ -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') {