0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

modules/federation/make_join: Improve error string for propagation.

This commit is contained in:
Jason Volk 2019-09-16 13:39:48 -07:00
parent 8f4def84f4
commit 839ca6f000

View file

@ -75,8 +75,9 @@ get__make_join(client &client,
if(!exists(room))
throw m::NOT_FOUND
{
"Room %s is not known here.",
string_view{room_id}
"Room %s is not known by %s.",
string_view{room_id},
my_host(),
};
if(m::room::server_acl::enable_read && !m::room::server_acl::check(room_id, request.node_id))