按成员版本与设备名单限制群组密文投递
This commit is contained in:
1 parent
43216c205c
commit
636419e948
12 files changed
+592
-7
No files matched your search
@@ -23,6 +23,8 @@ func groupError(w http.ResponseWriter, err error) {
|
||||
problem(w, 409, "group_action_unavailable", "当前无法执行此群操作")
|
||||
case errors.Is(err, groups.ErrLimit):
|
||||
problem(w, 409, "group_member_limit", "群成员与待处理邀请已达上限")
|
||||
case errors.Is(err, groups.ErrVersion):
|
||||
problem(w, 409, "group_epoch_changed", "群成员或设备版本已变更")
|
||||
default:
|
||||
unavailable(w, err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user