Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3354052
D12150.id40769.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
688 B
Referenced Files
None
Subscribers
None
D12150.id40769.diff
View Options
diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -878,7 +878,7 @@
threadInfo: LegacyRawThreadInfo | RawThreadInfo | ThreadInfo,
viewerID: ?string,
userInfos: UserInfos,
- checkOnlyViewerBlock?: boolean,
+ checkOnlyViewerBlock: boolean,
): boolean {
if (
threadOrParentThreadIsGroupChat(threadInfo) ||
@@ -911,7 +911,7 @@
viewerID: ?string,
userInfos: UserInfos,
): boolean {
- return threadIsWithBlockedUserOnly(threadInfo, viewerID, userInfos);
+ return threadIsWithBlockedUserOnly(threadInfo, viewerID, userInfos, false);
}
function threadFrozenDueToViewerBlock(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 11:38 AM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575418
Default Alt Text
D12150.id40769.diff (688 B)
Attached To
Mode
D12150: [lib] Make `checkOnlyViewerBlock` argument of `threadIsWithBlockedUserOnly` required
Attached
Detach File
Event Timeline
Log In to Comment