Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32211558
D8072.1765136924.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
974 B
Referenced Files
None
Subscribers
None
D8072.1765136924.diff
View Options
diff --git a/lib/selectors/user-selectors.js b/lib/selectors/user-selectors.js
--- a/lib/selectors/user-selectors.js
+++ b/lib/selectors/user-selectors.js
@@ -8,10 +8,7 @@
getRandomDefaultEmojiAvatar,
} from '../shared/avatar-utils.js';
import SearchIndex from '../shared/search-index.js';
-import {
- getSingleOtherUser,
- memberHasAdminPowers,
-} from '../shared/thread-utils.js';
+import { getSingleOtherUser } from '../shared/thread-utils.js';
import type { ClientEmojiAvatar } from '../types/avatar-types';
import type { BaseAppState } from '../types/redux-types.js';
import { userRelationshipStatus } from '../types/relationship-types.js';
@@ -67,8 +64,7 @@
}
const memberInfos = threadInfo.members;
for (const memberInfo of memberInfos) {
- const isParentAdmin = memberHasAdminPowers(memberInfo);
- if (!memberInfo.role && !isParentAdmin) {
+ if (!memberInfo.role) {
continue;
}
const username = userInfos[memberInfo.id]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 7:48 PM (19 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5845725
Default Alt Text
D8072.1765136924.diff (974 B)
Attached To
Mode
D8072: [lib] Remove parent admin from members list if they are not part of the thread
Attached
Detach File
Event Timeline
Log In to Comment