Page MenuHomePhabricator

D12293.diff
No OneTemporary

D12293.diff

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
@@ -951,28 +951,19 @@
);
}
-function innerThreadFrozenDueToBlock(
+function threadFrozenDueToBlock(
threadInfo: LegacyRawThreadInfo | RawThreadInfo,
viewerID: ?string,
userInfos: UserInfos,
- skipMemberAdminRoleCheck: boolean,
): boolean {
const options: ThreadIsWithBlockedUserOnlyOptions = {
checkOnlyViewerBlock: false,
- skipMemberAdminRoleCheck,
+ skipMemberAdminRoleCheck: false,
};
return threadIsWithBlockedUserOnly(threadInfo, viewerID, userInfos, options);
}
-function threadFrozenDueToBlock(
- threadInfo: LegacyRawThreadInfo | RawThreadInfo,
- viewerID: ?string,
- userInfos: UserInfos,
-): boolean {
- return innerThreadFrozenDueToBlock(threadInfo, viewerID, userInfos, false);
-}
-
function useThreadFrozenDueToViewerBlock(
threadInfo: ThreadInfo,
communityThreadInfo: ?ThreadInfo,

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 9:43 PM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2591768
Default Alt Text
D12293.diff (985 B)

Event Timeline