You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Set which servers to try and join upgraded rooms through
Fixes https://github.com/vector-im/riot-web/issues/7991
This commit is contained in:
@@ -285,6 +285,10 @@ export default class MessageComposer extends React.Component {
|
||||
action: 'view_room',
|
||||
highlighted: true,
|
||||
room_id: replacementRoomId,
|
||||
|
||||
// Try to join via the server that sent the event. This converts $something:example.org
|
||||
// into a server domain by splitting on colons and ignoring the first entry ("$something").
|
||||
via_servers: [this.state.tombstone.getId().split(':').splice(1).join(':')],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user