mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 22:02:46 +00:00
Sync fixes (#1709)
* omitempty some fields in sync * Add a few more * Don't send push rules over and over again in incremental sync * Further tweaks
This commit is contained in:
parent
55cfe391f7
commit
bb9e6a1281
5 changed files with 36 additions and 31 deletions
|
@ -59,7 +59,10 @@ func (p *ReceiptStreamProvider) IncrementalSync(
|
|||
}
|
||||
|
||||
for roomID, receipts := range receiptsByRoom {
|
||||
jr := req.Response.Rooms.Join[roomID]
|
||||
jr := *types.NewJoinResponse()
|
||||
if existing, ok := req.Response.Rooms.Join[roomID]; ok {
|
||||
jr = existing
|
||||
}
|
||||
var ok bool
|
||||
|
||||
ev := gomatrixserverlib.ClientEvent{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue