-
Notifications
You must be signed in to change notification settings - Fork 5
Add /list command #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
martinetd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! That appears to work well enough for me, but I tested it with the other PR and that caused some non-rooms to be treated as room so give me a bit of time to test again later to see how irssi handles queries in list (but I think it just passes the output directly so this should be fine)
|
I've made the CI hook to run on PRs, I think it'll run if you rebase on top of master -- in particular I'm checking clippy and rustfmt and I think these won't pass. It's a bit of a pain to setup rustfmt to run automatically depending on your editor but it looks like most rust projects enforce this and I think the end result is actually quite nice, if you don't want to run it I'll update the branches before merging |
Nah, it's alright, it's good that you call me out for being lazy after jumping machines and not having taken the time to fix the issues in my vim setup :) But you are right about the queries: Technically, they do not belong there. weechat actually has a custom view for /list, and when trying to join a Query, it even sends a JOIN to matrircd (which gets ignored, but that is a different issue). |
Thanks!
irssi doesn't care about /list at all, so I'm fine with this. Given the joins are ignored I think it's fine as is from what you're describing (as long as it's not creating "windows" you don't want for queries?). |
0eea7f2 to
a4e7ae4
Compare
Hmm, I've for now added an alternative implementation that hides queries. I would potentially postpone this one, though, until we know where #23 is heading regarding queries. Depending on whether we autojoin them as "rooms" or keep them as queries seems to be a good arbitrator whether they should appear in |
|
Yeah we need to be able to list queries, even if it doesn't make sense from an irc point of view. |
Based on the discussion in #7.
As with #23 not necessarily fleshed out initial prototype.