From 97c08e982beef249b852ed80263692dde6821406 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 19 May 2023 10:24:24 +0800 Subject: [PATCH] refactor: notification sessionType update --- pkg/rpcclient/msg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/rpcclient/msg.go b/pkg/rpcclient/msg.go index b9fa6c342..1de0215ed 100644 --- a/pkg/rpcclient/msg.go +++ b/pkg/rpcclient/msg.go @@ -62,8 +62,8 @@ func newSessionTypeConf() map[int32]int32 { // group constant.GroupCreatedNotification: constant.SuperGroupChatType, constant.GroupInfoSetNotification: constant.SuperGroupChatType, - constant.JoinGroupApplicationNotification: constant.SuperGroupChatType, - constant.MemberQuitNotification: constant.SingleChatType, + constant.JoinGroupApplicationNotification: constant.SingleChatType, + constant.MemberQuitNotification: constant.SuperGroupChatType, constant.GroupApplicationAcceptedNotification: constant.SingleChatType, constant.GroupApplicationRejectedNotification: constant.SingleChatType, constant.GroupOwnerTransferredNotification: constant.SuperGroupChatType,