mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 20:03:10 -06:00
Review comments
This commit is contained in:
parent
4feba6f56f
commit
7d0c6ace54
|
|
@ -129,7 +129,7 @@ func (r *RoomserverInternalAPI) performJoinRoomByID(
|
||||||
if err == nil && isInvitePending {
|
if err == nil && isInvitePending {
|
||||||
// Add the server of the person who invited us to the server list,
|
// Add the server of the person who invited us to the server list,
|
||||||
// as they should be a fairly good bet.
|
// as they should be a fairly good bet.
|
||||||
if _, inviterDomain, ierr := gomatrixserverlib.SplitID('!', inviteSender); ierr == nil {
|
if _, inviterDomain, ierr := gomatrixserverlib.SplitID('@', inviteSender); ierr == nil {
|
||||||
req.ServerNames = append(req.ServerNames, inviterDomain)
|
req.ServerNames = append(req.ServerNames, inviterDomain)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue