mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Fix wrong events
This commit is contained in:
parent
24f765686a
commit
cbfe2c9e63
|
|
@ -193,8 +193,7 @@ func leaveResponseWithRooms(syncResponse *types.Response, userID string, roomIDs
|
|||
}
|
||||
|
||||
lr := syncResponse.Rooms.Leave[roomID]
|
||||
lr.Timeline = &types.Timeline{}
|
||||
lr.State = &types.ClientEvents{Events: roomEvents}
|
||||
lr.Timeline = &types.Timeline{Events: roomEvents}
|
||||
syncResponse.Rooms.Leave[roomID] = lr
|
||||
}
|
||||
return syncResponse
|
||||
|
|
|
|||
Loading…
Reference in a new issue