Change multiroom prefix to connect.multiroom for clarity (#54)

This commit is contained in:
PiotrKozimor 2022-11-10 13:36:01 +01:00 committed by GitHub
parent 949041b8a3
commit 8ae2820d7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,7 +340,7 @@ func (d *Database) updateRoomState(
}
}
if strings.HasPrefix(event.Type(), "connect.mrd") {
if strings.HasPrefix(event.Type(), "connect.multiroom") {
err := d.UpdateMultiRoomVisibility(ctx, event)
if err != nil {
logrus.WithError(err).WithField("event_id", event.EventID()).Error("failed to update multi room visibility")