feat(fediverse): add media reply
This commit is contained in:
parent
2e483e4744
commit
a1dc8200bc
2 changed files with 15 additions and 5 deletions
6
main.js
6
main.js
|
@ -129,7 +129,11 @@ let CreateClient = (token, user_id) => {
|
|||
}
|
||||
|
||||
if (command === 'media') {
|
||||
registrar.media.runQuery(matrixClient, room, userInput, registrar);
|
||||
registrar.media.runQuery(matrixClient, room, userInput, false, registrar);
|
||||
}
|
||||
|
||||
if (command === 'mediareply') {
|
||||
registrar.media.runQuery(matrixClient, room, userInput, true, registrar);
|
||||
}
|
||||
|
||||
if (command === 'status') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue