mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 12:18:54 +02:00
ircd:Ⓜ️:v1: Fix send_join argument.
This commit is contained in:
parent
b9400e1698
commit
e2db58bd81
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ struct ircd::m::v1::send_join
|
|||
return json::array{in.content};
|
||||
}
|
||||
|
||||
send_join(const room::id &, const user::id &, const const_buffer &, const mutable_buffer &, opts);
|
||||
send_join(const room::id &, const id::event &, const const_buffer &, const mutable_buffer &, opts);
|
||||
send_join() = default;
|
||||
};
|
||||
|
||||
|
|
|
@ -351,7 +351,7 @@ ircd::m::v1::event::event(const m::event::id &event_id,
|
|||
//
|
||||
|
||||
ircd::m::v1::send_join::send_join(const room::id &room_id,
|
||||
const user::id &user_id,
|
||||
const id::event &event_id,
|
||||
const const_buffer &content,
|
||||
const mutable_buffer &buf,
|
||||
opts opts)
|
||||
|
@ -378,7 +378,7 @@ ircd::m::v1::send_join::send_join(const room::id &room_id,
|
|||
{
|
||||
urlbuf, "/_matrix/federation/v1/send_join/%s/%s",
|
||||
url::encode(room_id, ridbuf),
|
||||
url::encode(user_id, uidbuf)
|
||||
url::encode(event_id, uidbuf)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue