Switch to channel buffer on /join

Closes: https://todo.sr.ht/~emersion/gamja/37
This commit is contained in:
Simon Ser 2021-05-27 19:10:42 +02:00
parent 64900fbe80
commit 9567d56f53
2 changed files with 5 additions and 3 deletions

View file

@ -17,7 +17,7 @@ const join = {
if (!channel) {
throw new Error("Missing channel name");
}
getActiveClient(app).send({ command: "JOIN", params: [channel] });
app.open(channel);
},
};