mirror of https://github.com/vector-im/riot-web
commit
678a6c56b4
|
@ -345,6 +345,13 @@ const commands = {
|
||||||
return reject(this.getUsage());
|
return reject(this.getUsage());
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
// Open developer tools
|
||||||
|
devtools: new Command("devtools", "", function(roomId) {
|
||||||
|
const DevtoolsDialog = sdk.getComponent("dialogs.DevtoolsDialog");
|
||||||
|
Modal.createDialog(DevtoolsDialog, { roomId });
|
||||||
|
return success();
|
||||||
|
}),
|
||||||
|
|
||||||
// Verify a user, device, and pubkey tuple
|
// Verify a user, device, and pubkey tuple
|
||||||
verify: new Command("verify", "<userId> <deviceId> <deviceSigningKey>", function(roomId, args) {
|
verify: new Command("verify", "<userId> <deviceId> <deviceSigningKey>", function(roomId, args) {
|
||||||
if (args) {
|
if (args) {
|
||||||
|
|
Loading…
Reference in New Issue