4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-06 07:14:04 +00:00

Add dependencies/vendor (whatsapp)

This commit is contained in:
Wim
2022-01-31 00:27:37 +01:00
parent e7b193788a
commit e3cafeaf92
1074 changed files with 3091569 additions and 26075 deletions

View File

@ -0,0 +1,21 @@
package store
import (
"go.mau.fi/libsignal/keys/message"
)
// MessageKey store is an interface describing the optional local storage
// of message keys.
type MessageKey interface {
// Load a local message key by id
LoadMessageKey(keyID uint32) *message.Keys
// Store a local message key
StoreMessageKey(keyID uint32, key *message.Keys)
// Check to see if the store contains a message key with id.
ContainsMessageKey(keyID uint32) bool
// Delete a message key from local storage.
RemoveMessageKey(keyID uint32)
}