Optional
migrateInvoked when iterating around a rooms entries. Should be used to update entries with a new room id.
Invoked when iterating around a rooms entries. Should be used to update entries with a new room id.
The existing entry.
The new roomId.
Return the entry to upsert it, or null to ignore it.
The existing entry.
The new roomId.
Return the entry to upsert it, or null to ignore it.
Should ghost users be migrated to the new room. This will leave
any users matching the user regex list in the registration file
from the old room, and join them to the new room.
Defaults to true
Migrate room store entries automatically. Defaults to true
Optional
onInvoked after a room has been upgraded and its entries updated.
Invoked after a room has been upgraded and its entries updated.
The old roomId.
The new roomId.
The old roomId.
The new roomId.
Generated using TypeDoc
Should upgrade and invite events be processed after being handled by the RoomUpgradeHandler. Defaults to
false
.