mirror of
https://github.com/JJTech0130/pypush.git
synced 2025-01-22 11:18:29 +00:00
Make participants lowercase (#55)
This commit is contained in:
parent
627cedf7a8
commit
e2102d006e
@ -496,6 +496,7 @@ class iMessageUser:
|
||||
|
||||
bundled_payloads = []
|
||||
for participant in message.participants:
|
||||
participant = participant.lower()
|
||||
for push_token in self.USER_CACHE[participant]:
|
||||
if push_token == self.connection.token:
|
||||
continue # Don't send to ourselves
|
||||
|
Loading…
Reference in New Issue
Block a user