Coder Social home page Coder Social logo

teleirc-rewrite's People

Contributors

keeakita avatar

Watchers

 avatar

teleirc-rewrite's Issues

Messages sent by users not in channel are dropped

Currently, the way this plugin works is by rewriting the raw IRC string received by the server. So a PRIVMSG from the bot is rewritten to a PRIVMSG from an IRC user with a nick equal to their telegram name. This causes a problem however, in that WeeChat will drop a PRIVMSG to a channel if the sending user is not in the channel. This means that right now, you can only see messages from people:

  1. In both telegram and IRC, simultaneously
  2. With the same IRC nick as their Telegram Username

A possible emergency patch to stop messages from being dropped is to check if the user is in the channel before rewriting.

A possible fix is to either find a way to tell weechat not to drop the "invalid" messages, or to find some other hook at the display level rather than the message level.

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.