Project

General

Profile

Actions

Bug #90

open

Deleted chat messages do not remove associated media from server (Web)

Added by Vivek Kumar 5 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
04/16/2026
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

When a message containing media (e.g., image/photo/file) is deleted in the chat, the message is removed from the UI, but the associated media file remains stored on the server.

  • The media is no longer visible in chat
  • However, the file still exists on the server/storage
  • This can lead to unnecessary storage usage and potential data retention/privacy concerns

Steps to Reproduce

  • Open Chat module
  • Send a message with media (image/file)
  • Copy the media URL by inspecting
  • Delete the message
  • Access file via direct URL.

Actual Result
Message is deleted from UI
Media file remains on the server
File may still be accessible via URL

Expected Result
Deleting a message should also delete associated media from the server
Media file should not be accessible after deletion
Storage should be cleaned up accordingly

Note: The following media message was deleted but file is still present on the server:https://aicitiapps.s3.us-east-2.amazonaws.com/chat/603c4a2f9644be25e93e1089/1776345350060_0_7656.png

Actions

Also available in: Atom PDF