mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/console: Stub command-by device_id handler.
This commit is contained in:
parent
b403fbc421
commit
3060bc2941
1 changed files with 12 additions and 0 deletions
|
@ -353,6 +353,7 @@ int console_command_numeric(opt &, const string_view &line);
|
|||
bool console_id__user(opt &, const m::user::id &id, const string_view &line);
|
||||
bool console_id__room(opt &, const m::room::id &id, const string_view &line);
|
||||
bool console_id__event(opt &, const m::event::id &id, const string_view &line);
|
||||
bool console_id__device(opt &, const m::device::id &id, const string_view &line);
|
||||
bool console_json(const json::object &);
|
||||
|
||||
int
|
||||
|
@ -380,6 +381,9 @@ console_command_derived(opt &out, const string_view &line)
|
|||
case m::id::USER:
|
||||
return console_id__user(out, id, line);
|
||||
|
||||
case m::id::DEVICE:
|
||||
return console_id__device(out, id, line);
|
||||
|
||||
case m::id::ROOM_ALIAS:
|
||||
{
|
||||
const auto room_id{m::room_id(id)};
|
||||
|
@ -10619,6 +10623,14 @@ console_cmd__user__devices(opt &out, const string_view &line)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
console_id__device(opt &out,
|
||||
const m::device::id &id,
|
||||
const string_view &line)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
console_cmd__user__ignores(opt &out, const string_view &line)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue