Page MenuHomePhabricator

D13554.id44740.diff
No OneTemporary

D13554.id44740.diff

diff --git a/lib/reducers/message-reducer.js b/lib/reducers/message-reducer.js
--- a/lib/reducers/message-reducer.js
+++ b/lib/reducers/message-reducer.js
@@ -104,7 +104,7 @@
stateSyncPayloadTypes,
} from '../types/socket-types.js';
import { threadPermissions } from '../types/thread-permission-types.js';
-import { threadTypeIsThick } from '../types/thread-types-enum.js';
+import { threadTypes, threadTypeIsThick } from '../types/thread-types-enum.js';
import type {
LegacyRawThreadInfo,
RawThreadInfos,
@@ -143,7 +143,9 @@
threadIsPending(threadID) ||
(threadInfo &&
threadHasPermission(threadInfo, threadPermissions.VISIBLE) &&
- (threadInChatList(threadInfo) || watchedIDs.includes(threadID)))
+ (threadInChatList(threadInfo) ||
+ watchedIDs.includes(threadID) ||
+ threadInfo.type === threadTypes.THICK_SIDEBAR))
);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 4, 7:24 AM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2232031
Default Alt Text
D13554.id44740.diff (884 B)

Event Timeline