mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(user): push guild member updates on profile field changes (#2850)
This commit is contained in:
1 parent
ac3450ab32
commit
bf7567b768
8 files changed
+223
-42
No files matched your search
@@ -46,9 +46,6 @@ const CURRENT_USER_PRIVATE_WIRE_KEYS = [
|
||||
] as const;
|
||||
|
||||
function isPublicOnlyCurrentUserPayload(user: WireUser): boolean {
|
||||
if (typeof user.mention_flags === 'number') {
|
||||
return false;
|
||||
}
|
||||
return !CURRENT_USER_PRIVATE_WIRE_KEYS.some((key) => key in user);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user