Print more information for sync requests

This commit is contained in:
AsamK 2020-06-05 12:13:38 +02:00
parent 34caba2a7a
commit a83924238f

View file

@ -114,6 +114,15 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
if (syncMessage.getRequest().get().isGroupsRequest()) { if (syncMessage.getRequest().get().isGroupsRequest()) {
System.out.println(" - groups request"); System.out.println(" - groups request");
} }
if (syncMessage.getRequest().get().isBlockedListRequest()) {
System.out.println(" - blocked list request");
}
if (syncMessage.getRequest().get().isConfigurationRequest()) {
System.out.println(" - configuration request");
}
if (syncMessage.getRequest().get().isKeysRequest()) {
System.out.println(" - keys request");
}
} }
if (syncMessage.getSent().isPresent()) { if (syncMessage.getSent().isPresent()) {
System.out.println("Received sync sent message"); System.out.println("Received sync sent message");