Fix some inconsistencies

This commit is contained in:
Kai S. K. Engelbart 2020-07-06 16:14:14 +02:00
parent af765ee1f7
commit b6de5b2c20
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));
} }
} }