remove super group add kicked user notification

This commit is contained in:
Gordon
2023-02-08 10:21:59 +08:00
parent cc4ae8648e
commit 6ee90b60c3
4 changed files with 7 additions and 19 deletions
+1 -4
View File
@@ -9,9 +9,7 @@ import (
//"github.com/golang/protobuf/proto"
)
func SuperGroupNotification(operationID, sendID, recvID string, isKicked bool) {
m := make(map[string]bool)
m["kicked"] = isKicked
func SuperGroupNotification(operationID, sendID, recvID string) {
n := &NotificationMsg{
SendID: sendID,
RecvID: recvID,
@@ -20,7 +18,6 @@ func SuperGroupNotification(operationID, sendID, recvID string, isKicked bool) {
SessionType: constant.SingleChatType,
OperationID: operationID,
}
n.Content = utils.StructToJsonBytes(m)
log.NewInfo(operationID, utils.GetSelfFuncName(), string(n.Content))
Notification(n)