mirror of
https://github.com/status-im/spiffworkflow-connector.git
synced 2025-02-22 11:38:17 +00:00
Skip recipient if not a string (#5)
This commit is contained in:
parent
5b77d28df8
commit
df79d5f339
@ -78,6 +78,9 @@ class SendMessage:
|
||||
responses = []
|
||||
all_calls_returned_200 = True
|
||||
for rec in self.recipient:
|
||||
if not isinstance(rec, str):
|
||||
continue
|
||||
|
||||
# we also tried wakuext_sendContactRequest before wakuext_addContact.
|
||||
# wakuext_sendContactRequest also took a third parameter after the rec parameter for the message that would appear
|
||||
# alongside the contact request. But the message also appeared in your messages foreever and ever, which was not
|
||||
|
Loading…
x
Reference in New Issue
Block a user