Giter Club home page Giter Club logo

Comments (4)

flashcode avatar flashcode commented on June 6, 2024 1

Fixed in 4.0.8, 4.1.3, 4.2.0 (these 3 versions will be released soon).

from weechat.

flashcode avatar flashcode commented on June 6, 2024

Hi, indeed it's wrong, I'll fix ASAP.

By the way instead of catching IRC signals and using this info (which is specific to IRC plugin), I would recommend to use a function like hook_line, which is called when a line is displayed (by WeeChat or any plugin). If a line is displayed, that means it's not ignored by irc plugin (except if option irc.look.ignore_tag_messages is enabled, it's new in 4.2.0).

from weechat.

flashcode avatar flashcode commented on June 6, 2024

And I'll also add unit tests on IRC infos to prevent such bugs.

from weechat.

necauqua avatar necauqua commented on June 6, 2024

Thanks :)

I've considered hook_line, but between all the things I wanted to achieve, it seems most straightforward to intercept those messages and print them to buffer completely on my own, as I've described there

(I'm almost done making my own version of twitch.py, which does not call the http apis, but extracts and shows significantly more information from ircv3 tags and presents it better, including adding a lot of it to tags for versatile filtering and even post-tagging moderated messages to be (potentially) filtered out as well

The irc_filter thing is literally me reading about the shortcomings of twitch.py from it's desc and trying my best to work around those)

from weechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.