Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
illusia committed 2026-09-20 23:31:04 +08:00
commit c2c38fa011
32 files changed
+342 -75

No files matched your search

+4 -1
View File
@@ -43,7 +43,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;