diff options
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/presence.go')
-rw-r--r-- | vendor/go.mau.fi/whatsmeow/presence.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/presence.go b/vendor/go.mau.fi/whatsmeow/presence.go index d5462a9b..bc26c21c 100644 --- a/vendor/go.mau.fi/whatsmeow/presence.go +++ b/vendor/go.mau.fi/whatsmeow/presence.go @@ -84,7 +84,8 @@ func (cli *Client) SendPresence(state types.Presence) error { // // Also, it seems that the WhatsApp servers require you to be online to receive presence status from other users, // so you should mark yourself as online before trying to use this function: -// cli.SendPresence(types.PresenceAvailable) +// +// cli.SendPresence(types.PresenceAvailable) func (cli *Client) SubscribePresence(jid types.JID) error { return cli.sendNode(waBinary.Node{ Tag: "presence", |