feat: 设置noify已读

This commit is contained in:
手瓜一十雪 committed 2024-08-28 18:18:40 +08:00
1 parent bd1751903e
commit cc85985d08
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -33,8 +33,8 @@ export class NTQQGroupApi {
}
this.context.logger.logDebug(`加载${this.groups.length}个群组缓存完成`);
}
async clearGroupNotifiesUnreadCount(){
return this.context.session.getGroupService().clearGroupNotifiesUnreadCount(true);
async clearGroupNotifiesUnreadCount(unk: boolean) {
return this.context.session.getGroupService().clearGroupNotifiesUnreadCount(unk);
}
async setGroupAvatar(gc: string, filePath: string) {
return this.context.session.getGroupService().setHeader(gc, filePath);