Commit 178de50f by 杨铁龙

适配xchat-client 2.2.2

parent efff8957
Showing with 5 additions and 0 deletions
...@@ -320,6 +320,11 @@ export class Xim { ...@@ -320,6 +320,11 @@ export class Xim {
return this.client?.syncReadMsg(chatId, start_msg_id, end_msg_id); return this.client?.syncReadMsg(chatId, start_msg_id, end_msg_id);
} }
// xchat-client 2.2.2新增
public setUnRead(chatId: number) {
return this.client?.unreadChat(chatId);
}
private parseEventListener(...args: any[]): [string, Function] { private parseEventListener(...args: any[]): [string, Function] {
if (args.length < 2) { if (args.length < 2) {
throw new Error("参数个数不正确"); throw new Error("参数个数不正确");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment