diff --git a/syncapi/streams/stream_pdu.go b/syncapi/streams/stream_pdu.go index e2a8ee059..e4b41c820 100644 --- a/syncapi/streams/stream_pdu.go +++ b/syncapi/streams/stream_pdu.go @@ -105,6 +105,7 @@ func (p *PDUStreamProvider) CompleteSync( } // Invalidate the lazyLoadCache, otherwise we end up with missing displaynames/avatars + // TODO: This might be inefficient, when joined to many and/or large rooms. for _, roomID := range joinedRoomIDs { joinedUsers := p.notifier.JoinedUsers(roomID) for _, sharedUser := range joinedUsers {