Giter Club home page Giter Club logo

Comments (1)

jschaul avatar jschaul commented on May 18, 2024 1

The sending client receives an answer, if any, in the HTTP response payload. Its own payload is not persisted in the backend (you know the plaintext message you send at the time, it makes no sense to encrypt for yourself, persist in the backend, and re-download the message for your own client. Encryption sessions need two distinct client Ids AFAIK). The difference in observed behaviour between sending and receiving clients in the light of deleted IndexedDBs is to be expected. The backend filters out any client payloads if they are superfluous. If your example payload above included userC: clientC but this user isn't in the corresponding conversation, that user would not get a message. You can see this by inspecting the resulting HTTP response from your request (it gives feedback on deleted/unused/superfluous client payloads).

Functioning client functionality without message loss when manually wiping IndexedDB is not a feature Wire supports.

I hope that answers your question? If not, please re-open this or another issue with clarifying questions.

from wire-server.

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.