Closed afrizaloky closed 3 years ago
@afrizaloky are you using typescript?
i use nodejs
@github-actions run
a0d9303
793f428
7db0064
isChatMuted
- check if chat is muted d98df11
1444a6b
3f3906f
hideTags
parameter now optional 6cba478
920f5a1
sendText
should no longer allow null
or undefined
#1380 26e2bb7
@afrizaloky can you update to the latest version and try to send a text with null or undefined again and see if it gets stuck
closed. thank you
Describe the bug
i use openwa 3.6.3 i try using sendText with null paramater, sendText(from, null). The function after this sendText can't executed. for example: client.sendText(from, '') => this empty string parameter doesn't make bug client.sendText(from, 'test') => this message can be send client.sendText(from, null) => this message can't be send and the code stop in there client.sendText(from, 'test2') => not executed client.sendText(from, asq) => not executed client.sendText(from, 'test3') => not executed
for another example: client.sendText(from, '') => this empty parameter doesn't make bug client.sendText(from, 'test') => this message can be send client.sendText(from, 'test2') => this message can be send client.sendText(from, asq) => note: asq is undefined variable. this message can't be send and the code stop in there client.sendText(from, 'test3') => not executed
i don't know this is bug or not, but it is annoying for me. sorry for bad documentation