Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3376801
D12290.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
537 B
Referenced Files
None
Subscribers
None
D12290.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
@@ -176,11 +176,11 @@
return hasPermission(threadInfo.currentUser.permissions, permission);
}
- const threadFrozen = innerThreadFrozenDueToBlock(
+ const threadFrozen = threadIsWithBlockedUserOnlyWithoutAdminRoleCheck(
threadInfo,
loggedInUserInfo.id,
userInfos,
- true,
+ false,
);
const permissions = threadFrozen
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 2:16 AM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2592433
Default Alt Text
D12290.diff (537 B)
Attached To
Mode
D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`
Attached
Detach File
Event Timeline
Log In to Comment