diff options
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/internals.go')
-rw-r--r-- | vendor/go.mau.fi/whatsmeow/internals.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/internals.go b/vendor/go.mau.fi/whatsmeow/internals.go index 7a8d50b5..f71e71e5 100644 --- a/vendor/go.mau.fi/whatsmeow/internals.go +++ b/vendor/go.mau.fi/whatsmeow/internals.go @@ -6,7 +6,11 @@ package whatsmeow -import waBinary "go.mau.fi/whatsmeow/binary" +import ( + "context" + + waBinary "go.mau.fi/whatsmeow/binary" +) type DangerousInternalClient struct { c *Client @@ -54,8 +58,8 @@ func (int *DangerousInternalClient) GetServerPreKeyCount() (int, error) { return int.c.getServerPreKeyCount() } -func (int *DangerousInternalClient) RequestAppStateKeys(keyIDs [][]byte) { - int.c.requestAppStateKeys(keyIDs) +func (int *DangerousInternalClient) RequestAppStateKeys(ctx context.Context, keyIDs [][]byte) { + int.c.requestAppStateKeys(ctx, keyIDs) } func (int *DangerousInternalClient) SendRetryReceipt(node *waBinary.Node, forceIncludeIdentity bool) { |