Remove check that breaks federated room joins

This commit is contained in:
Neil Alexander 2022-08-03 12:54:17 +01:00
parent 8048c77526
commit 69b9d3ba00
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -341,7 +341,7 @@ func (r *Inputer) processRoomEvent(
if err != nil {
return fmt.Errorf("updater.RoomInfo: %w", err)
}
if roomInfo == nil || (!isCreateEvent && roomInfo.IsStub()) {
if roomInfo == nil {
return fmt.Errorf("updater.RoomInfo missing for room %s", event.RoomID())
}