Skip to content

Commit

Permalink
cmdinterface: Support "status" command to trigger room status json
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 13, 2024
1 parent 259e023 commit e79c28e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stdinreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,12 @@ int cmdInputThreadFunc(void *)
}
});
}
else if(!strncmpl(line, "status"))
{
wzAsyncExecOnMainThread([] {
wz_command_interface_output_room_status_json();
});
}
else if(!strncmpl(line, "shutdown now"))
{
inexit = true;
Expand Down

0 comments on commit e79c28e

Please sign in to comment.