CleanSendToDeviceUpdates removes all send-to-device messages BEFORE the specified from position, preventing the send-to-device table from growing indefinitely.
(ctx context.Context, userID, deviceID string, before types.StreamPosition)
| 132 | // CleanSendToDeviceUpdates removes all send-to-device messages BEFORE the specified |
| 133 | // from position, preventing the send-to-device table from growing indefinitely. |
| 134 | CleanSendToDeviceUpdates(ctx context.Context, userID, deviceID string, before types.StreamPosition) (err error) |
| 135 | // GetFilter looks up the filter associated with a given local user and filter ID |
| 136 | // and populates the target filter. Otherwise returns an error if no such filter exists |
| 137 | // or if there was an error talking to the database. |
no outgoing calls