mirror of https://github.com/vector-im/riot-web
Merge pull request #2428 from matrix-org/travis/rver/7991
Set which servers to try and join upgraded rooms throughpull/21833/head
commit
33eef6f5ac
|
@ -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(':')],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue