Fix some inconsistencies

This commit is contained in:
Kai S. K. Engelbart 2020-07-06 16:14:14 +02:00
parent fc20f3688f
commit 23e07a6e91
No known key found for this signature in database
GPG Key ID: 0A48559CA32CB48F
2 changed files with 3 additions and 4 deletions

View File

@ -26,9 +26,9 @@ import envoy.util.EnvoyLog;
*/ */
public class GroupMessageStatusChangeProcessor implements ObjectProcessor<GroupMessageStatusChange> { public class GroupMessageStatusChangeProcessor implements ObjectProcessor<GroupMessageStatusChange> {
private final ConnectionManager connectionManager = ConnectionManager.getInstance(); private static final ConnectionManager connectionManager = ConnectionManager.getInstance();
private final PersistenceManager persistenceManager = PersistenceManager.getInstance(); private static final PersistenceManager persistenceManager = PersistenceManager.getInstance();
private final Logger logger = EnvoyLog.getLogger(MessageStatusChangeProcessor.class); private static final Logger logger = EnvoyLog.getLogger(MessageStatusChangeProcessor.class);
@Override @Override
public void process(GroupMessageStatusChange statusChange, long socketID, ObjectWriteProxy writeProxy) { public void process(GroupMessageStatusChange statusChange, long socketID, ObjectWriteProxy writeProxy) {

View File

@ -164,7 +164,6 @@ public final class LoginCredentialProcessor implements ObjectProcessor<LoginCred
} else { } else {
// Deliver just a status change instead of the whole message // Deliver just a status change instead of the whole message
// TODO: Notify group members about the status change
writeProxy.write(socketID, new MessageStatusChange(gmsgCommon)); writeProxy.write(socketID, new MessageStatusChange(gmsgCommon));
} }
} }