Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmdinterface: Add new event output, room status json output #4128

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
cmdinterface: Support "status" command to trigger room status json
past-due committed Nov 13, 2024
commit 104e4f16ff11f15a19d0b1ede1635fe927709fe5
6 changes: 6 additions & 0 deletions src/stdinreader.cpp
Original file line number Diff line number Diff line change
@@ -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;