为双端群聊增加端到端加密附件
This commit is contained in:
1 parent
5988ad6ed6
commit
a95a007768
21 files changed
+405
-84
No files matched your search
@@ -25,6 +25,8 @@ func groupError(w http.ResponseWriter, err error) {
|
||||
problem(w, 409, "group_member_limit", "群成员与待处理邀请已达上限")
|
||||
case errors.Is(err, groups.ErrVersion):
|
||||
problem(w, 409, "group_epoch_changed", "群成员或设备版本已变更")
|
||||
case errors.Is(err, groups.ErrAttachment):
|
||||
problem(w, 409, "group_attachment_conflict", "群附件不可用或已绑定到其他消息")
|
||||
default:
|
||||
unavailable(w, err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user