增加加密群公告和群主转让

This commit is contained in:
xhgit committed 2026-11-15 17:20:18 +08:00
1 parent 52c0e52ffd
commit 47b76080c6
10 files changed
+163 -22

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ func (a *API) changeGroup(w http.ResponseWriter, r *http.Request, _ string, id a
return
}
switch change.Action {
case "invite", "remove", "promote", "demote":
case "invite", "remove", "promote", "demote", "transfer":
if !uuidPattern.MatchString(change.Target) {
problem(w, 400, "invalid_member", "群成员 ID 无效")
return