mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-12-01 11:37:13 -05:00
commands: Add LIST command
Signed-off-by: Cara Salter <cara@devcara.com>
This commit is contained in:
parent
c4c0a77162
commit
723951a07b
1 changed files with 8 additions and 0 deletions
|
@ -411,4 +411,12 @@ export default {
|
||||||
markServerBufferUnread(app);
|
markServerBufferUnread(app);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"list": {
|
||||||
|
usage: "[filter]",
|
||||||
|
description: "Retrieve a list of channels from a network",
|
||||||
|
execute: (app, args) => {
|
||||||
|
getActiveClient(app).send({ command: "LIST", params: args });
|
||||||
|
markServerBufferUnread(app);
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue