0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/rooms/event: Fix param missing error message.

This commit is contained in:
Jason Volk 2019-03-04 14:36:49 -08:00
parent 5752c32de9
commit 1dcf36adc8

View file

@ -18,9 +18,9 @@ get__event(client &client,
const m::room::id &room_id)
{
if(request.parv.size() < 3)
throw m::ACCESS_DENIED
throw m::NEED_MORE_PARAMS
{
"You are not permitted to view the room at this event"
"event_id path parameter required"
};
m::event::id::buf event_id