Update dependencies (#1929)
This commit is contained in:
3
vendor/go.mau.fi/whatsmeow/presence.go
vendored
3
vendor/go.mau.fi/whatsmeow/presence.go
vendored
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user