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:
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)
|
||||
{
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue