mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 17:03:10 -06:00
Fix return on 3PID invite
This commit is contained in:
parent
f06a162268
commit
083e81f36c
|
|
@ -127,10 +127,8 @@ func createInviteFrom3PIDInvite(
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
*builder, err = federation.ExchangeThirdPartyInvite(remoteServer, *builder)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
err = federation.ExchangeThirdPartyInvite(remoteServer, *builder)
|
||||
return nil, err
|
||||
} else {
|
||||
// Auth the event locally
|
||||
builder.Depth = queryRes.Depth
|
||||
|
|
|
|||
Loading…
Reference in a new issue