~emersion/public-inbox

gamja: commands: Add LIST command v3 APPLIED

Cara Salter
Cara Salter: 1
 commands: Add LIST command

 1 files changed, 8 insertions(+), 0 deletions(-)
#630209 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/26658/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH gamja v3] commands: Add LIST command Export this patch

Cara Salter
Signed-off-by: Cara Salter <cara@devcara.com>
---
Passes in the args variable directly.

 commands.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/commands.js b/commands.js
index 7f13792..5f2d5d9 100644
--- a/commands.js
+++ b/commands.js
@@ -411,4 +411,12 @@ export default {
			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);
		},
	},
};
-- 
2.34.0
builds.sr.ht
gamja/patches/.build.yml: SUCCESS in 1m16s

[commands: Add LIST command][0] v3 from [Cara Salter][1]

[0]: https://lists.sr.ht/~emersion/public-inbox/patches/26658
[1]: mailto:cara@devcara.com

✓ #630209 SUCCESS gamja/patches/.build.yml https://builds.sr.ht/~emersion/job/630209
LGTM and pushed, thanks!