mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-23 19:32:29 -06:00
filter for madrid right away
This commit is contained in:
parent
83b3562be8
commit
1354198af7
1 changed files with 1 additions and 0 deletions
1
demo.py
1
demo.py
|
@ -78,6 +78,7 @@ def safe_b64decode(s):
|
||||||
return None
|
return None
|
||||||
conn.connect(token=safe_b64decode(CONFIG.get("push", {}).get("token")))
|
conn.connect(token=safe_b64decode(CONFIG.get("push", {}).get("token")))
|
||||||
conn.set_state(1)
|
conn.set_state(1)
|
||||||
|
conn.filter(["com.apple.madrid"])
|
||||||
#print(b64encode(conn.token).decode())
|
#print(b64encode(conn.token).decode())
|
||||||
user = ids.IDSUser(conn)
|
user = ids.IDSUser(conn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue