feat(archive.is): add rearchive, timestamp past archives
This commit is contained in:
parent
2c1ef158e9
commit
2d23f24a6a
2 changed files with 14 additions and 10 deletions
6
main.js
6
main.js
|
@ -108,7 +108,11 @@ let CreateClient = (token) => {
|
|||
}
|
||||
|
||||
if (command === 'archive') {
|
||||
registrar.archive.runQuery(matrixClient, room, userInput, registrar);
|
||||
registrar.archive.runQuery(matrixClient, room, userInput, false, registrar);
|
||||
}
|
||||
|
||||
if (command === 'rearchive') {
|
||||
registrar.archive.runQuery(matrixClient, room, userInput, true, registrar);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue