WithStreamID returns a copy of this device message with the given stream ID
(streamID int64)
| 141 | |
| 142 | // WithStreamID returns a copy of this device message with the given stream ID |
| 143 | func (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 |
no outgoing calls
no test coverage detected