Fixed handling message removed exception

pull/125/head
M66B 6 years ago
parent afd68f3daa
commit cdb745d0b7

@ -868,10 +868,10 @@ public class ServiceSynchronize extends LifecycleService {
" args=" + op.args);
EntityMessage message = db.message().getMessage(op.message);
if (message == null)
throw new MessageRemovedException();
try {
if (message == null)
throw new MessageRemovedException();
db.message().setMessageError(message.id, null);
if (message.uid == null &&

Loading…
Cancel
Save