不能反复撤回消息
This commit is contained in:
@@ -2078,6 +2078,10 @@ public class MemoryMessagesStore implements IMessagesStore {
|
|||||||
return ErrorCode.ERROR_CODE_NOT_RIGHT;
|
return ErrorCode.ERROR_CODE_NOT_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(message.getContent().getType() == 80) {
|
||||||
|
return ErrorCode.ERROR_CODE_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
json.put("s", message.getFromUser());
|
json.put("s", message.getFromUser());
|
||||||
json.put("ts", message.getServerTimestamp());
|
json.put("ts", message.getServerTimestamp());
|
||||||
|
|||||||
Reference in New Issue
Block a user