mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd:Ⓜ️:fetch: Fix erroneous direct assignment to request.origin.
This commit is contained in:
parent
ef6f98eeec
commit
0f84f959a7
1 changed files with 3 additions and 2 deletions
|
@ -387,8 +387,9 @@ try
|
|||
assert(!request.finished);
|
||||
|
||||
// Attempt the user's hint first
|
||||
if(!request.started && !request.origin)
|
||||
request.origin = request.opts.hint;
|
||||
if(!request.started && !request.origin && request.opts.hint)
|
||||
if(proffer_remote(request, request.opts.hint))
|
||||
select_remote(request, request.opts.hint);
|
||||
|
||||
// When no user hint, use legacy event_id hostpart as hint.
|
||||
if(!request.started && !request.origin)
|
||||
|
|
Loading…
Reference in a new issue