Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

320 B
Raw Blame
package whatsapp

import "go.mau.fi/whatsmeow/store"

func applyKeyCacheStore(device *store.Device, keyCacheStore store.AllSessionSpecificStores) {
	device.Identities = keyCacheStore
	device.Sessions = keyCacheStore
	device.PreKeys = keyCacheStore
	device.SenderKeys = keyCacheStore
	device.MsgSecrets = keyCacheStore
}