0
0
Fork 0
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:
Jason Volk 2018-03-08 15:55:02 -08:00
parent b9400e1698
commit e2db58bd81
2 changed files with 3 additions and 3 deletions

View file

@ -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;
};

View file

@ -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)
};
}