fix: restore member moves, avatars, and remembered identity

This commit is contained in:
illusia committed 2026-09-19 11:12:19 +08:00
1 parent dc63f4b45b
commit faff7a2237
3 files changed
+80 -10

No files matched your search

+4 -1
View File
@@ -42,7 +42,10 @@ export interface TSClientAvatar {
data: Buffer;
}
const MAX_CLIENT_AVATAR_BYTES = 120 * 1024;
// Keep enough room for avatars produced by the native client. The previous
// 120 KiB limit rejected the 134 KiB PNG used by the Shanghai test account,
// so every avatar silently fell back to its initial letter.
const MAX_CLIENT_AVATAR_BYTES = 256 * 1024;
export type TSDirectorySnapshot = DirectorySnapshot;
export type TSDirectoryClient = DirectoryClientInfo;