mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Simplify send-to-device messaging (#1702)
* Simplify send-to-device messaging * Don't return error if there's no work to do * Remove SQLite migrations for now * Tweak Postgres migrations * Tweaks * Fixes * Cleanup separately * Fix SQLite migration
This commit is contained in:
parent
bb9e6a1281
commit
d8fba52e97
13 changed files with 248 additions and 254 deletions
|
@ -492,14 +492,11 @@ func NewLeaveResponse() *LeaveResponse {
|
|||
return &res
|
||||
}
|
||||
|
||||
type SendToDeviceNID int
|
||||
|
||||
type SendToDeviceEvent struct {
|
||||
gomatrixserverlib.SendToDeviceEvent
|
||||
ID SendToDeviceNID
|
||||
UserID string
|
||||
DeviceID string
|
||||
SentByToken *StreamingToken
|
||||
ID StreamPosition
|
||||
UserID string
|
||||
DeviceID string
|
||||
}
|
||||
|
||||
type PeekingDevice struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue