Several fixes

This commit is contained in:
M66B
2018-08-03 15:12:35 +00:00
parent d32df01e25
commit 63e40513fb
4 changed files with 16 additions and 7 deletions

View File

@@ -639,6 +639,11 @@ public class ServiceSynchronize extends LifecycleService {
EntityMessage reply = (msg.replying == null ? null : message.getMessage(msg.replying));
EntityIdentity ident = db.identity().getIdentity(msg.identity);
if (!ident.synchronize) {
// Message will remain in outbox
return;
}
Properties props = MessageHelper.getSessionProperties();
Session isession = Session.getDefaultInstance(props, null);