refactor: 重寫 Chat 成員邏輯
* 不再區分 user_a/b, 直接使用 members_list 雙成員模式 * 爲以後群聊打下基礎
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import ChatType from "./ChatType.ts"
|
||||
|
||||
export default class ChatBean {
|
||||
declare type: "private" | "group"
|
||||
declare type: ChatType
|
||||
declare id: string
|
||||
declare title?: string
|
||||
declare avatar_file_hash?: string
|
||||
declare user_a_id?: string
|
||||
declare user_b_id?: string
|
||||
declare members_list: string
|
||||
declare settings: string
|
||||
|
||||
[key: string]: unknown
|
||||
|
||||
Reference in New Issue
Block a user