Version numbers
Sulla: 1.7.10
Describe the bug
Sulla cannot create a new message if number hasn't sent a message to the phone number before.
Steps to Reproduce
Steps to reproduce the behavior:
create() code
This is the code you use to create the client. e.g
this.client?.sendText(
to,
message
).then(e => {
this.log(`Message dispatched to ${to}`, message);
}).catch(e => {
this.logger.error(`Message FAILED to dispatch to ${to}`, message);
});
This code returns in '.then' block however the message is never sent.
Expected behaviour
If the number is not in the list of 'old' messages then sulla should create a new chat for that number and send message.
DEBUG INFO
Debug Info {
WA_VERSION: '0.4.613',
PAGE_UA:
'WhatsApp/0.4.607 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36',
SULLA_HOTFIX_VERSION: '1.7.10',
BROWSER_VERSION: 'Chrome/79.0.3945.0' }
Screenshots



Host (please complete the following information):
Additional context
Possibly duplicate of #6
I am okay to close this. I'd rather respect the privacy and choice of people and ask them to initiate conversation first rather than spamming them even if they didn't subscribe willingly.
it's not a bug, it's a feature: do not bug people you never had contact with.
maybe @smashah should mention this in the send message example in readme.md
Yes I agree. I read #6 and I kinda agree with the explanation there. We all hate annoying spammy ads. Plus I'm not building an ad engine anyways.
depending on your use case you can place an invite link so new users can establish a contact to you
Yeah I will most probably be sending a "Click to chat" link.
Should I just go ahead and close this thread?
Thanks.
@alishahlakhani I'll move this to a readme update then close.
Regarding starting a chat, I made a simple webcomponent you can add to your site to get users to start chats.
@smashah Thanks will look into it.
Keep rocking!