GithubHelp home page GithubHelp logo

add local chat history deletion about siskin-im HOT 8 OPEN

fu3x11 avatar fu3x11 commented on June 18, 2024
add local chat history deletion

from siskin-im.

Comments (8)

hantu85 avatar hantu85 commented on June 18, 2024

Currently, there is no way to delete local history of a single chat due to the way how messages are stored and synced from the server (removal of lastest message can result in resynchronizion of them on reconnection).

Thank you for reporting this feature request. We will think about adding this feature in one of the future releases.

from siskin-im.

licaon-kter avatar licaon-kter commented on June 18, 2024

Can't you just replace their contents in the local DB?

from siskin-im.

hantu85 avatar hantu85 commented on June 18, 2024

That is not the same and I do not suppose this would be expected result of chat history removal operation. Anyway, that would require some work and it would need to be part of the future releases as I've stated.

from siskin-im.

licaon-kter avatar licaon-kter commented on June 18, 2024

That is not the same and I do not suppose this would be expected result of chat history removal operation.

Not sure a follow, in a federated system we should not expect the history to disappear from MAM or other devices.

While that is true, I see no issue with replacing current local DB entries with "NIL" and keep the rest as it is, so there's no reason to pull from MAM and re-get the same messages because the DB will always say "I'm up to date"

But the user get what they want, if they open a chat it is empty since you can skip rendering any messages which are "NIL" (or whatever pattern you choose)

it would need to be part of the future releases as I've stated.

as always :)

from siskin-im.

hantu85 avatar hantu85 commented on June 18, 2024

That is not the same and I do not suppose this would be expected result of chat history removal operation.

Not sure a follow, in a federated system we should not expect the history to disappear from MAM or other devices.

What I mean, is removal is removal, so all details about the message exchange should be removed from the device if that is possible. Not only tombstoned or have body replaced, but actually removed with all metadata about the message being removed as well, ie. who sent message, when, etc.

In other case, the name of this functionality should be "hide" instead of "delete" and I would prefer not to mislead users.

from siskin-im.

licaon-kter avatar licaon-kter commented on June 18, 2024

Note that given the spread of a message (MAM, other devices, contacts) you'll always be "hiding" more or less.

Now, @fu3x11 what is your usecase (given the discussion above), local hide or?

from siskin-im.

hantu85 avatar hantu85 commented on June 18, 2024

Question was about removal of data from the local device storage, not from the server.

from siskin-im.

fu3x11 avatar fu3x11 commented on June 18, 2024

Note that given the spread of a message (MAM, other devices, contacts) you'll always be "hiding" more or less.

Now, @fu3x11 what is your usecase (given the discussion above), local hide or?

yes local hiding, on gajim, i have a setup where all messages expire after one week, server archival off, and i manually delete all chat history on that client when necessary, or for individual chats. (all locally obviously)

another cool feature gajim has, to prevent unauthorized group chat or dm leaks, is not trusting your contacts new omemo fingerprints by default, (it will be switched off completely), until you and your contact has consulted and verified that the new device was indeed him with one of many methods, then said fingerprint may be manually trusted by you

from siskin-im.

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.