Giter Site home page Giter Site logo

Comments (5)

pedrobaeza avatar pedrobaeza commented on August 12, 2024

Yeah, this can be very interesting. @gurneyalex and @simahawk I think you can be very interested in this.

from social.

 avatar commented on August 12, 2024

https://github.com/it-projects-llc/mail-addons a lot of good function like the describted are from this good guys

from social.

dajuayen avatar dajuayen commented on August 12, 2024

@yajo I have a doubt in JS and you can guide me.
The object 'mail.chat_manager' saves the channels of the messaging in the variable 'channels' declared in the following way outside the class itself:
https://github.com/odoo/odoo/blob/bab5ccfdd7bd2138eb41db325981dc47641678f9/addons/mail/static/src/js/chat_manager.js#L25
In addition some functions that are not accessible.

I want to add another channel for the messages read, but that I know ChatManager does offer me a method to insert it. Should I overwrite the entire class by adding variables and functions?

from social.

yajo avatar yajo commented on August 12, 2024

I recommend you to avoid doing that. Read the public interface and use it, it has methods such as post_message, get_message, get_channel, create_channel, etc., that usually should be enough for you.

from social.

github-actions avatar github-actions commented on August 12, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

from social.

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.