fix(user): push guild member updates on profile field changes (#2850)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-19 23:30:25 +02:00
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);
}