Git Product home page Git Product logo

Comments (5)

arcturial avatar arcturial commented on June 2, 2024

This is probably due to stale data being stored in the robot brain. I will have a look at this.

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

Hey

Please have a look at https://github.com/lukefx/hubot-telegram/tree/issue-19

You can try it out in your hubot by changing package.json to:

"hubot-telegram": "lukefx/hubot-telegram#issue-19"

The change I made will regenerate the user cache for a specific user if the users first name or surname changes.

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

Resolved with merge b1f55e8

from hubot-telegram.

rubybrowncoat avatar rubybrowncoat commented on June 2, 2024

I haven't had time to test this change, I have only skimmed the code changes, and probably won't have time for a few more days. I have a question and it may be a stupid one given the caveats before: all looks good when first name or last name changes, but what happens when the username changes from either empty to something or from something to something else?

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

This is a bit embarrassing, but I only realized you can change the username this weekend after I merged the changes XD I will modify the code to also include the ability to change the username. Very silly oversight.

from hubot-telegram.

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.