mirror of
https://github.com/status-im/spiffworkflow-connector.git
synced 2025-02-23 12:08:13 +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 = []
|
responses = []
|
||||||
all_calls_returned_200 = True
|
all_calls_returned_200 = True
|
||||||
for rec in self.recipient:
|
for rec in self.recipient:
|
||||||
|
if not isinstance(rec, str):
|
||||||
|
continue
|
||||||
|
|
||||||
# we also tried wakuext_sendContactRequest before wakuext_addContact.
|
# 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
|
# 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
|
# 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