Giter Site home page Giter Site logo

Comments (4)

linear avatar linear commented on June 21, 2024

PR-1113 Order message a in conversation by date/timestamp

from chatwoot.

zhiru avatar zhiru commented on June 21, 2024

IMG_3655

from chatwoot.

sojan-official avatar sojan-official commented on June 21, 2024

@zhiru We don't recommend directly populating the database, as the associated callbacks won't be executed. You can reorder the messages and populate the messages through a script.

from chatwoot.

zhiru avatar zhiru commented on June 21, 2024

we are using a system to get history of messages, so when post/api/v1/accounts/..../conversations/.../messages tha messages saves right, but i can control the order off arriving dates.

example: post a message with date May 21, 12:55 PM, than May 17, 3:43 PM, than May 20, 6:13 PM, the order in chat box get`s out off order.

I thought my team inserted it directly through the database but they told me they used the API as I mentioned above in the post, but they are using this one (https://www.postman.com/chatwoot/workspace/chatwoot-apis/request/162770-8f87071b-9910-4271-935a-7a12d619d109)

from chatwoot.

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.