From 08779c29099e8940493df56d28d8aa131ac8342e Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 9 Mar 2023 22:48:00 +0100 Subject: Update dependencies (#2007) * Update dependencies --- vendor/go.mau.fi/whatsmeow/appstate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/go.mau.fi/whatsmeow/appstate.go') diff --git a/vendor/go.mau.fi/whatsmeow/appstate.go b/vendor/go.mau.fi/whatsmeow/appstate.go index 7e99b513..7493a030 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate.go +++ b/vendor/go.mau.fi/whatsmeow/appstate.go @@ -271,7 +271,7 @@ func (cli *Client) requestAppStateKeys(ctx context.Context, rawKeyIDs [][]byte) }, } ownID := cli.getOwnID().ToNonAD() - if ownID.IsEmpty() { + if ownID.IsEmpty() || len(debugKeyIDs) == 0 { return } cli.Log.Infof("Sending key request for app state keys %+v", debugKeyIDs) -- cgit v1.2.3