Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32517020
D12293.1767124225.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
985 B
Referenced Files
None
Subscribers
None
D12293.1767124225.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
@@ -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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 7:50 PM (7 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5869562
Default Alt Text
D12293.1767124225.diff (985 B)
Attached To
Mode
D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`
Attached
Detach File
Event Timeline
Log In to Comment