feat(fedi): add status query

This commit is contained in:
vulet 2020-07-04 01:05:39 +08:00
parent 38ca35bdd4
commit 6fe3c992e7
3 changed files with 28 additions and 3 deletions

View file

@ -131,6 +131,11 @@ let CreateClient = (token, user_id) => {
if (command === 'media') {
registrar.media.runQuery(matrixClient, room, userInput, registrar);
}
if (command === 'status') {
registar.status.runQuery(matrixClient, room, userInput, registrar);
}
}
});