mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd:Ⓜ️:fed: Return origin rather than empty result.
This commit is contained in:
parent
2556a18cdf
commit
ea97994fe3
1 changed files with 3 additions and 0 deletions
|
@ -1779,6 +1779,9 @@ try
|
|||
response["m.server"]
|
||||
};
|
||||
|
||||
if(!m_server)
|
||||
return origin;
|
||||
|
||||
// This construction validates we didn't get a junk string
|
||||
volatile const net::hostport ret
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue