chore: 生成的 Private chat id 人類可讀

This commit is contained in:
CrescentLeaf
2025-09-25 16:40:30 +08:00
parent a928577f2a
commit 35d60642c0

View File

@@ -8,7 +8,7 @@ export default class ChatPrivate extends Chat {
}
static getChatIdByUsersId(userIdA: string, userIdB: string) {
return [userIdA, userIdB].sort().join('-')
return [userIdA, userIdB].sort().join('------')
}
static createForPrivate(userA: User, userB: User) {