Skip to content

Commit

Permalink
Merge pull request #373 from matrix-org/dmr/fix-build
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson authored Nov 10, 2023
2 parents cbd3c3c + a8bef7e commit 192099d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync2/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ func (p *poller) parseRoomsResponse(ctx context.Context, res *SyncResponse) erro
if createEvent != nil {
roomData.State.Events = slices.Insert(roomData.State.Events, 0, createEvent)
// retry the processing of the room state
prependStateEvents, err = p.receiver.Initialise(ctx, roomID, roomData.State.Events)
err = p.receiver.Initialise(ctx, roomID, roomData.State.Events)
if err == nil {
const warnMsg = "parseRoomsResponse: m.room.create event was found in the timeline not state, info after moving create event"
logger.Warn().Str("user_id", p.userID).Str("room_id", roomID).Int(
Expand Down

0 comments on commit 192099d

Please sign in to comment.