Giter VIP home page Giter VIP logo

Comments (7)

rodrimarchese avatar rodrimarchese commented on August 24, 2024

Same here! @thiagoaraujo007 mark it as a bug in 'Labels'!
I can add that after the second message, then there will be 1 non read message marked as non read. (but there are 2 messages non read). And if no second message is sent, you will have the ticket as read...

will try to solve it but If anyone has already fix it... will help a lot. ty

from whaticket-community.

stale avatar stale commented on August 24, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from whaticket-community.

Horgun avatar Horgun commented on August 24, 2024

I partially fixed this, I thought I had solved it but later realized i didn't solve everything.
After you open the ticket and leave it, the other messages will appear correctly as unread. Only the first message of the ticket doesn't seem to work.
Examples:

  1. Client sends 1 message (the ticket is created but doesn't show as unread)
  2. Client sends 2 messages (the ticket is created and shows that there is 1 unread message instead of 2)
  3. After the ticket is read once, if the client sends more messages it counts correctly.

from whaticket-community.

Horgun avatar Horgun commented on August 24, 2024

Found it, it happens when whaticket assigns the queue to the ticket:
image1
wbotMessageListener.ts

And when you open "UpdateTicketService"
image2
UpdateTicketService.ts

Just gotta find the right way to solve it now

from whaticket-community.

Horgun avatar Horgun commented on August 24, 2024

image
UpdateTicketService.ts
This seems to be working.

image
wbotMessageListener.ts
This change I had been using for a while, if fixes the quantity of unread messages.

from whaticket-community.

rodrimarchese avatar rodrimarchese commented on August 24, 2024

@Horgun Those fixes work for me! thank you!

from whaticket-community.

stale avatar stale commented on August 24, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from whaticket-community.

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.