This commit is contained in:
cdle
2023-06-07 19:15:27 +08:00
parent c74c9b130e
commit 1f02e78ea0
4 changed files with 64 additions and 16 deletions
+7 -7
View File
@@ -233,13 +233,13 @@ func initToHandleMessage() {
}
s.Reply("ok")
case "reply":
if data := noReplyGroups.GetBytes(cid); len(data) != 0 {
info := &GroupInfo{}
if info.Enable {
info.Enable = !info.Enable
noReplyGroups.Set(cid, utils.JsonMarshal(info))
}
}
// if data := noReplyGroups.GetBytes(cid); len(data) != 0 {
info := &GroupInfo{}
// if info.Enable {
// info.Enable = !info.Enable
noReplyGroups.Set(cid, utils.JsonMarshal(info))
// }
// }
s.Reply("ok")
case "noreply", "unreply":
if data := noReplyGroups.GetBytes(cid); len(data) == 0 {