mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-23 11:22:42 -06:00
Make participants lowercase (#55)
This commit is contained in:
parent
627cedf7a8
commit
e2102d006e
1 changed files with 1 additions and 0 deletions
|
@ -496,6 +496,7 @@ class iMessageUser:
|
||||||
|
|
||||||
bundled_payloads = []
|
bundled_payloads = []
|
||||||
for participant in message.participants:
|
for participant in message.participants:
|
||||||
|
participant = participant.lower()
|
||||||
for push_token in self.USER_CACHE[participant]:
|
for push_token in self.USER_CACHE[participant]:
|
||||||
if push_token == self.connection.token:
|
if push_token == self.connection.token:
|
||||||
continue # Don't send to ourselves
|
continue # Don't send to ourselves
|
||||||
|
|
Loading…
Reference in a new issue