mirror of
https://github.com/matrix-construct/construct
synced 2025-02-19 18:20:19 +01:00
ircd:Ⓜ️:v1: Allow empty user_id argument to have a fallback.
This commit is contained in:
parent
eb33688bc1
commit
e5b2700db3
1 changed files with 1 additions and 1 deletions
|
@ -1510,7 +1510,7 @@ ircd::m::v1::fetch_head(const id::room &room_id,
|
|||
opts.remote = remote;
|
||||
make_join request
|
||||
{
|
||||
room_id, user_id, buf, std::move(opts)
|
||||
room_id, user_id?: m::me.user_id, buf, std::move(opts)
|
||||
};
|
||||
|
||||
request.wait(milliseconds(fetch_head_timeout));
|
||||
|
|
Loading…
Add table
Reference in a new issue