不能反复撤回消息

This commit is contained in:
heavyrian2012
2022-02-22 15:29:53 +08:00
parent 2b24fb9f44
commit 22708caaaa
@@ -2077,6 +2077,10 @@ public class MemoryMessagesStore implements IMessagesStore {
if (!canRecall) {
return ErrorCode.ERROR_CODE_NOT_RIGHT;
}
if(message.getContent().getType() == 80) {
return ErrorCode.ERROR_CODE_SUCCESS;
}
JSONObject json = new JSONObject();
json.put("s", message.getFromUser());