Merge pull request #1389 from turt2live/travis/ignored_users

Add ignore user API support
This commit is contained in:
Matthew Hodgson 2017-09-17 22:05:02 +01:00 committed by GitHub
commit 6a53b7b149
12 changed files with 217 additions and 2 deletions

View file

@ -94,6 +94,16 @@ const COMMANDS = [
args: '<user-id> <device-id> <device-signing-key>',
description: 'Verifies a user, device, and pubkey tuple',
},
{
command: '/ignore',
args: '<user-id>',
description: 'Ignores a user, hiding their messages from you',
},
{
command: '/unignore',
args: '<user-id>',
description: 'Stops ignoring a user, showing their messages going forward',
},
// Omitting `/markdown` as it only seems to apply to OldComposer
];