@ -391,7 +391,7 @@ Returns the message object as first value, and its ID as second."
@@ -391,7 +391,7 @@ Returns the message object as first value, and its ID as second."
@ -136,12 +136,6 @@ CALLBACK, if provided, specifies a function to run with the reply sent by WhatsA
@@ -136,12 +136,6 @@ CALLBACK, if provided, specifies a function to run with the reply sent by WhatsA
"Send a simple text message to the JID TO-JID, containing TEXT. Returns the message's ID. The CALLBACK will be called with CONN as first argument and the server's response: an alist, which should on success contain the key :STATUS with value 200."
(declare(typejidto-jid)(typestringtext))
(let((hn(jid-hostnameto-jid)))
;; Here's a funny story: having an invalid JID hostname here sends
;; WhatsApp into a crash loop (!), requiring a reinstall.
;; 4 reinstalls later and I figured out the bug...
@ -169,10 +163,13 @@ CALLBACK, if provided, specifies a function to run with the reply sent by WhatsA
@@ -169,10 +163,13 @@ CALLBACK, if provided, specifies a function to run with the reply sent by WhatsA