StoreLocalDeviceKeys persists the given keys. Keys with the same user ID and device ID will be replaced. An empty KeyJSON removes the key for this (user, device). The `StreamID` for each message is set on successful insertion. In the event the key already exists, the existing StreamID is set. Return
(ctx context.Context, keys []api.DeviceMessage)
| 42 | // The `StreamID` for each message is set on successful insertion. In the event the key already exists, the existing StreamID is set. |
| 43 | // Returns an error if there was a problem storing the keys. |
| 44 | StoreLocalDeviceKeys(ctx context.Context, keys []api.DeviceMessage) error |
| 45 | |
| 46 | // StoreRemoteDeviceKeys persists the given keys. Keys with the same user ID and device ID will be replaced. An empty KeyJSON removes the key |
| 47 | // for this (user, device). Does not modify the stream ID for keys. User IDs in `clearUserIDs` will have all their device keys deleted prior |
no outgoing calls