Fix invite position

This commit is contained in:
Neil Alexander 2021-01-08 11:19:40 +00:00
parent 85e6b646c9
commit e96185bbc0
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -282,7 +282,7 @@ func (s *OutputRoomEventConsumer) onNewInviteEvent(
}
s.streams.InviteStreamProvider.Advance(pduPos)
s.notifier.OnNewInvite(types.StreamingToken{PDUPosition: pduPos}, *msg.Event.StateKey())
s.notifier.OnNewInvite(types.StreamingToken{InvitePosition: pduPos}, *msg.Event.StateKey())
return nil
}