MCPcopy Create free account
hub / github.com/daodst/chat / WithStreamID

Method WithStreamID

keyserver/api/api.go:143–148  ·  view source on GitHub ↗

WithStreamID returns a copy of this device message with the given stream ID

(streamID int64)

Source from the content-addressed store, hash-verified

141
142// WithStreamID returns a copy of this device message with the given stream ID
143func (k *DeviceKeys) WithStreamID(streamID int64) DeviceMessage {
144 return DeviceMessage{
145 DeviceKeys: k,
146 StreamID: streamID,
147 }
148}
149
150// OneTimeKeys represents a set of one-time keys for a single device
151// https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-keys-upload

Callers 1

uploadLocalDeviceKeysMethod · 0.80

Implementers 2

deviceKeysStatementskeyserver/storage/postgres/device_keys
deviceKeysStatementskeyserver/storage/sqlite3/device_keys_

Calls

no outgoing calls

Tested by

no test coverage detected