Reply to deleted/censored message
Click on the "Click to reply" button on a message in chat (in browser) ->
Write a reply ->
The message to which you are replying is removed before you send the reply ->
Message is removed from chat ->
Send reply ->
The removed message is still (partially) visible in the reply, in the "replying to" header
This may not be the desired behavior. The reply should not (partially) show the deleted message but rather "replying to a deleted message" or similar.
-
williamaurthur
commented
The issue you're experiencing happens when a user starts composing a reply to a message, but that message is deleted before the reply is sent. In this case, the deleted message still appears in the "replying to" header, which can cause confusion.
To resolve this, you should ensure that when the original message is deleted, the reply interface checks the status of the message. If it’s deleted, the system should display "Replying to a deleted message" instead of showing the actual content of the deleted message. This would provide a more accurate representation to users.
If you're looking for more tips on handling these types of edge cases effectively, platforms like https://expertmistry.in/ offer expert insights on improving chat systems and optimizing user interactions.
-
Perkamentus
commented
When replying to a message that contains a censored word, makes it appear again in the replied message and I believe this is a bug.
-
Ysgramor3
commented
The same behavior can be achieved by using /reply for a user whose last message got deleted