-
Notifications
You must be signed in to change notification settings - Fork 8
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
Themes may break nickchange/quit detection #8
Comments
Using levels might provide a way to get around this, I don't know if I'll be able to work that out but someone else might be able to. Might give it a look later. |
I'm still looking into this but I can see what the problem is strait away, parsing print text in any way that presume the quit message format will be constant will always break when people have different themes. The offending lines are:
Stuff like this will never work consistently with themeing, I'm looking into a solution but it'd be nice @mrc0mmand could look at it considering it was their merge, they might be able to fix it far faster than me. |
This is indeed an issue, but parsing |
What was the issue with using |
Signals |
Meh okay that is a big problem, I'll keep looking into solutions, thanks for the information. |
I am also affected by this using the weed theme. is it possible to use the settings from the theme to devise a pattern? |
Same with my theme. |
I think it may be possible to use |
Why not simply And a question I have, why use this script instead of simply |
@c0d3m0nk3y because showing activity from recently active users is desirable, e.g. in case of disconnect/reconnect mid-conversation. Leaving joins/parts unfiltered in a large channel results in way too much useless noise. This scripts provides the middle ground. |
Sorry everyone but unless Irssi implements a version of the |
@falconindy Ah it seems I skipped some of the functionality provided. Many thanks for the quick reply. @konomikitten That is a shame. I've opted for |
@konomikitten you need to start with another signal, in this case |
@ailin-nemui I investigated this in the past and
I don't want to sound rude but please make sure to read the entire issue so we don't have to repeat things 😄. Edit: I just realised something else you said.
There's no way to nest signals as far as I know you'd do continue it'd flow and that would be the end. |
yes you must not call signal_stop in them :-) |
See <lifeforms/irssi-smartfilter#8>. The `smartfilter.pl` script is prone to breaking when a non-default theme is used (fixing this would apparently require changes to Irssi itself). For now, adjusting regexes in `smartfilter.pl` to the theme used is the way to work around this issue.
The `smartfilter.pl` script is prone to breaking when a non-default theme is used (fixing this would apparently require changes to Irssi itself). For now, adjusting regexes in `smartfilter.pl` to the theme used is the way to work around this issue. See <lifeforms/irssi-smartfilter#8>.
As of 2370378, smartfilter is broken with themes which alter the way quit and nickchange messages are displayed. For example, the theme I use contains (among other things):
Perhaps there's another way to achieve per-channel filtering of nick and which is less brittle.
The text was updated successfully, but these errors were encountered: