mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
modules/client/rooms/event: Fix param missing error message.
This commit is contained in:
parent
5752c32de9
commit
1dcf36adc8
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ get__event(client &client,
|
||||||
const m::room::id &room_id)
|
const m::room::id &room_id)
|
||||||
{
|
{
|
||||||
if(request.parv.size() < 3)
|
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
|
m::event::id::buf event_id
|
||||||
|
|
Loading…
Reference in a new issue