From 0a52b2c12ae15994a4c76eff2e993b7e3d9a55a6 Mon Sep 17 00:00:00 2001 From: JJTech0130 Date: Tue, 2 May 2023 20:51:51 -0400 Subject: [PATCH] hide QUEUE msgs again oops --- apns.py | 2 +- demo.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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"])