Removed unnecessary TODO
This commit is contained in:
		@@ -32,8 +32,7 @@ public class ContactOperationProcessor implements ObjectProcessor<ContactOperati
 | 
			
		||||
				System.out.printf("Adding user %s to the contact list of user %d.%n", evt.get(), userId);
 | 
			
		||||
				PersistenceManager.getPersistenceManager().addContact(userId, contactId);
 | 
			
		||||
 | 
			
		||||
				// Notify the contact
 | 
			
		||||
				// TODO: cache notification for offline mode
 | 
			
		||||
				// Notify the contact if online
 | 
			
		||||
				if (ConnectionManager.getInstance().isOnline(contactId)) writeProxy.write(connectionManager.getSocketId(contactId),
 | 
			
		||||
						new Contacts(Arrays.asList(PersistenceManager.getPersistenceManager().getUserById(userId).toCommonUser())));
 | 
			
		||||
				break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user