Spreed: Allow to delete chat messages

Created on 13 Apr 2018  Â·  25Comments  Â·  Source: nextcloud/spreed

Enhancement / feature request:

Moderator as well as user who wrote a message should be able to remove a chat message again.
Use case: somebody copy/pasted a password into the chat by accident. Legally problematic text, bad language, etc.

Should be handled in similar way as with any other messenger.

As discussed with Joas: might make sense to instead of completing deleting the line, replace it with a placeholder (i.e. some gray bar or similar) so people know that a message/line has been removed, so that other messages around that still make sense in the context.

UI-wise: a trashcan icon on the right side that appears when the user hovers over a chat line.

1. to develop enhancement chat 💬

Most helpful comment

Hi. First of all, awesome App! But i would agree, deleting or editing messages would be more than great. I am using nextcloud Talk for a primary school right now, and we have several critical usecases for this Feature:

  • Teacher is monitoring the discussion and needs to deleted wrong or inappropriate Message as moderator. He actually HAS to be able to do this!
  • Parents want to remove a Message their Child has written
  • Kids tent to send wrong Messages and want to correct them. Worst Case they will be laugh at due to a bad / wrong Message and they can't delete it

I agree, deleting does not solve the issue of someone doing local copies. But this is far less a danger then the usescases above. So currently we would love to give the Kids our own, secured Messenger, but this Feature might become a Road Blocker for us, for teachers even aus a legal aspect, despite that Talk is such a great App that really would Help our school right now.

Btw: both is possible in this chat here and i just used it :-)

All 25 comments

Would it be possible to have an update on this issue? Lack of ability to delete a message is a real problem for my users, and goes against (most) social media conventions.

Not really planned atm, since well its a chat. What you sent can be read already

OK. Well it's your app. But I'd say that "might be already read" is badly flawed logic. @mathiasconradt makes the good point about what if you accidentally paste/post something you'd never wish to share (like a password) or even detail that you really should not share for other reasons (perhaps ethical or legal). In that case you'd be able to remove it immediately, before broad consumption and quite possibly before anyone has read it.

IMO this app is an important tool for enabling Nextcloud to seriously challenge Slack. Enabling this functionality would be a small but important way of strengthening that challenge.

Deleting messages in chats isn't really unheard of. Afaik you can edit/delete messages in Slack if the admin allows it and several messaging apps even offer ephemeral messages that auto-delete themselves after a set time.
A delete function might also be used as a base for other features like a message archive management, to store only the last xyz messages or x months/years of messages.

Just tried to delete a message in a chat at talk version 5.0.2, but that is not possible.
Owncloud is to give users control over their data, however in this case I can't delete messages from chat. That really surprises me.

Is possible to indicate when it will be possible to remove messages from the chat?

@radoeka this is planned for the next release, actually, we can't finish everything at once :rocket:

But note that the guarantee of data control Nextcloud offers is by self-hosting. Reality is that another user can always take a picture of the message or copy it - this is the internet, once something is sent out you can't take it back. You can try, but it is like MS Outlook's ability to recall emails - yeah, fun, but it won't work with my mail client and you can't erase somebody's memory or screenshots or copies they made...

I would really love to see this working.

Feature would also be useful for chats with a very long history. In my particular case opening a chat with a frequent chat partner takes about five seconds until Nextcloud Talk skipped to the most recent message.

yeah, but that will be fixed with #1164
It shouldn't require you to delete all the history everytime.

you are right, #1164 would definitely be the solution. Deletion feature would be just a workaround.

@jospoortvliet Glad to hear about that ‘next release’ :) But—when will that come? ;) I get it that priorities may shift, but to me this is a real show-stopper. Is this still scheduled? Looking forward to it!
@nickvergessen, @goekce Right, _the_ solution—just not for the problem originally asked about here ;)

It's currently not planned for one of the next releases due to priorities, but it was moved to backlog. Let me quote the readme:

You can always pick a task of any of the milestones and we will help you to get it into the assigned milestone or also an earlier one if time permits. It's just a matter of having an overview and better visibility what we think should be worked on, but it's not exclusive.

Is there any eta on delete / edit message ? Kind of a must have feature for a chat application :/ ..

See the message above yours

Thank you I can read answer from 15 Jul 2019, I just wanted to know if there was anything new on this today, I guess the answer is still no then.

Hi. First of all, awesome App! But i would agree, deleting or editing messages would be more than great. I am using nextcloud Talk for a primary school right now, and we have several critical usecases for this Feature:

  • Teacher is monitoring the discussion and needs to deleted wrong or inappropriate Message as moderator. He actually HAS to be able to do this!
  • Parents want to remove a Message their Child has written
  • Kids tent to send wrong Messages and want to correct them. Worst Case they will be laugh at due to a bad / wrong Message and they can't delete it

I agree, deleting does not solve the issue of someone doing local copies. But this is far less a danger then the usescases above. So currently we would love to give the Kids our own, secured Messenger, but this Feature might become a Road Blocker for us, for teachers even aus a legal aspect, despite that Talk is such a great App that really would Help our school right now.

Btw: both is possible in this chat here and i just used it :-)

Note : Edit chat messages #1836

Just showing my support for implementing this. Not allowing deletion of messages in 2020 really holds Talk back from being a serious contender for us.

@HammyHavoc use https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/ to show your support. Writing a comment sends a notification to everyone subscribed to this issue.

But note that the guarantee of data control Nextcloud offers is by self-hosting. Reality is that another user can always take a picture of the message or copy it - this is the internet, once something is sent out you can't take it back.

That isn't the point and I don't see why it is a reason to avoid consideration of message deletion (I've seen this on the same topic in Roll20). Just because someone might have a copy of some data doesn't mean there's no point removing it. Chat would be MUCH more useful if the admin could remove messy and wrong messages for things like Project discussions, Play-By-Post games, seminar chats and so on. The messages can be deleted in the database manually anyaway, so there is no way that anyone thinks it is a perfectly trustworthy permanent record.

But note that the guarantee of data control Nextcloud offers is by self-hosting. Reality is that another user can always take a picture of the message or copy it - this is the internet, once something is sent out you can't take it back.

That isn't the point and I don't see why it is a reason to avoid consideration of message deletion (I've seen this on the same topic in Roll20). Just because someone might have a copy of some data doesn't mean there's no point removing it. Chat would be MUCH more useful if the admin could remove messy and wrong messages for things like Project discussions, Play-By-Post games, seminar chats and so on. The messages can be deleted in the database manually anyaway, so there is no way that anyone thinks it is a perfectly trustworthy permanent record.

Consider this: Windows now includes a clipboard with history, I accidentally sent the wrong screenshot to a colleague and was unable to remove it. Imagine if I'd sent a screenshot or a piece of text with sensitive information in it. A user-facing method to delete messages is a complete no-brainer to include.

And regarding it "being the internet", not necessarily, it's quite commonly just the corporate intranet. Obviously the thing to do is to minimize the number of people that the data reaches. Imagine making an error of these proportions in a group chat of several _dozen_ people.

As another point - I would prefer both edit & delete, but anything is better than nothing as is. The Chat messages are stored in the Comments table, same table as File Comments - File Comments has edit and delete already. So there is at least some reference code to work from.

is to minimize the number of people that the data reaches. Imagine making an error of these proportions in a group chat of several _dozen_ people.

Well that would actually require live editing connected participants chat windows, some of us are not concerned with that part yet - we just want the record edited regardless of what anyone's screen currently shows. Syncing the chat log would be fine I imagine though, after edit/delete the server sends resync command to all users - text changes.

is to minimize the number of people that the data reaches. Imagine making an error of these proportions in a group chat of several _dozen_ people.

Well that would actually require live editing connected participants chat windows, some of us are not concerned with that part yet - we just want the record edited regardless of what anyone's screen currently shows. Syncing the chat log would be fine I imagine though, after edit/delete the server sends resync command to all users - text changes.

As long as there's a user-facing option in the web and app UI for removing a message, I think it's a very important step forward for making Nextcloud Talk a serious option.

It's not easy like with file comments, as chat messages can be federated with the matterbridge and the mobile clients fetch them once and store them locally, so that needs a separate way to update them there.

I'm locking this for now as no comments are necessary at this point.
We know the reasons for the feature (that's why it's still open).
We will fix it at some point when it reached the top of the todo list.
Until then anyone can pick it up and send a pull request to fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danxuliu picture danxuliu  Â·  3Comments

brylie picture brylie  Â·  3Comments

MarcoZehe picture MarcoZehe  Â·  4Comments

q-wertz picture q-wertz  Â·  3Comments

mario picture mario  Â·  3Comments