mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
modules/console: Allow empty arguments to fed cmd.
This commit is contained in:
parent
d417c7779e
commit
58384a25c7
1 changed files with 7 additions and 3 deletions
|
@ -11419,12 +11419,16 @@ console_cmd__fed__frontfill(opt &out, const string_view &line)
|
|||
|
||||
const m::event::id &earliest
|
||||
{
|
||||
param.at(2)
|
||||
param["earliest"] == "*"?
|
||||
m::event::id{}:
|
||||
param.at(2, m::event::id{})
|
||||
};
|
||||
|
||||
const m::event::id::buf &latest
|
||||
const m::event::id &latest
|
||||
{
|
||||
param.at(3, m::head(std::nothrow, room_id))
|
||||
param["latest"] == "*"?
|
||||
m::event::id{}:
|
||||
param.at(3, m::event::id{})
|
||||
};
|
||||
|
||||
const auto &limit
|
||||
|
|
Loading…
Reference in a new issue