群组解散后撤回失败的错误码应该是不存在
This commit is contained in:
@@ -2421,7 +2421,8 @@ public class MemoryMessagesStore implements IMessagesStore {
|
|||||||
|
|
||||||
WFCMessage.GroupInfo groupInfo = groupMap.get(message.getConversation().getTarget());
|
WFCMessage.GroupInfo groupInfo = groupMap.get(message.getConversation().getTarget());
|
||||||
if (groupInfo == null) {
|
if (groupInfo == null) {
|
||||||
return ErrorCode.ERROR_CODE_RECALL_TIME_EXPIRED;
|
LOG.info("recall message failure, group {} not exist", message.getConversation().getTarget());
|
||||||
|
return ErrorCode.ERROR_CODE_NOT_EXIST;
|
||||||
}
|
}
|
||||||
if (operatorId.equals(groupInfo.getOwner())) {
|
if (operatorId.equals(groupInfo.getOwner())) {
|
||||||
if(operatorId.equals(message.getFromUser())) {
|
if(operatorId.equals(message.getFromUser())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user