diff --git a/apns.py b/apns.py index 8cdb1da..8f6a99b 100644 --- a/apns.py +++ b/apns.py @@ -88,7 +88,7 @@ class APNSConnection: if payload is not None: #print("QUEUE: Received payload: " + str(payload)) - print("QUEUE: Received payload type: " + hex(payload[0])) + #print("QUEUE: Received payload type: " + hex(payload[0])) self.incoming_queue.append(payload) # print("QUEUE: Thread ended") diff --git a/demo.py b/demo.py index c5916b3..839cbc5 100644 --- a/demo.py +++ b/demo.py @@ -163,13 +163,13 @@ def lookup(topic:str, users: list[str]): #time.sleep(5) # Let the server send us any messages it was holding #conn.sink() # Dump the messages -#lookup("com.apple.madrid", ["mailto:jjtech@jjtech.dev"]) -#lookup("com.apple.private.alloy.facetime.multi", ["mailto:jjtech@jjtech.dev"]) +lookup("com.apple.madrid", ["mailto:jjtech@jjtech.dev"]) +lookup("com.apple.private.alloy.facetime.multi", ["mailto:jjtech@jjtech.dev"]) -# lookup("com.apple.private.alloy.facetime.multi", ["mailto:user_test2@icloud.com"]) -# lookup("com.apple.madrid", ["mailto:user_test2@icloud.com"]) +lookup("com.apple.private.alloy.facetime.multi", ["mailto:user_test2@icloud.com"]) +lookup("com.apple.madrid", ["mailto:user_test2@icloud.com"]) -# lookup("com.apple.private.alloy.multiplex1", ["mailto:user_test2@icloud.com"]) +lookup("com.apple.private.alloy.multiplex1", ["mailto:user_test2@icloud.com"]) lookup("com.apple.private.alloy.screensharing", ["mailto:user_test2@icloud.com"])