# Delete for me funcationlity

**URL:** <https://forum.bubble.io/t/delete-for-me-funcationlity/349794>\
**Category:** Questions\
**Created:** [November 25, 2024, 2:08pm UTC](https://forum.bubble.io/t/delete-for-me-funcationlity/349794 "2024-11-25T14:08:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![malikmehru675](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@malikmehru675](https://forum.bubble.io/u/malikmehru675)\
**Post date:** [November 25, 2024, 2:08pm UTC](https://forum.bubble.io/t/delete-for-me-funcationlity/349794/1 "2024-11-25T14:08:44Z")

</div>

I want to set ( delete for me) funcationality in my chat app. but i cant able to do this?

---

<div class="post-metadata">

**Author:** ![deliriousmiles](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@deliriousmiles](https://forum.bubble.io/u/deliriousmiles)\
**Post date:** [November 25, 2024, 4:46pm UTC](https://forum.bubble.io/t/delete-for-me-funcationlity/349794/2 "2024-11-25T16:46:29Z")

</div>

You’ll have to provide more context if you want help. If you’re trying to delete something in the database, simply setup an action to delete a thing for the user who clicks the button.

---

<div class="post-metadata">

**Author:** ![malikmehru675](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@malikmehru675](https://forum.bubble.io/u/malikmehru675)\
**Post date:** [November 25, 2024, 4:59pm UTC](https://forum.bubble.io/t/delete-for-me-funcationlity/349794/3 "2024-11-25T16:59:23Z")

</div>

i want help, i build up chat app or in chat app i want to delete the message just from current user side message is not delete from another user

---

<div class="post-metadata">

**Author:** ![ryanellman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ryanellman/32/30341_2.png) [@ryanellman](https://forum.bubble.io/u/ryanellman)\
**Post date:** [November 26, 2024, 2:29pm UTC](https://forum.bubble.io/t/delete-for-me-funcationlity/349794/4 "2024-11-26T14:29:19Z")

</div>

This will likely require creating some sort of flag in the DB indicating if users have deleted it for themselves (vs actually deleting it) and using that to conditionally not show the message in that users conversation.

Without knowing more about your DB structure, I might do something like the following:

Message Thing  
|  
|— list\_of\_users\_who\_deleted\_for\_them

In the conversation view, for each message group in the repeating group (I am assuming you are using an RG to display messages) you can have some sort of conditional statement that says “if current user is in this message’s list\_of\_users\_who\_deleted\_for\_them” and then show something other than the message in that case.
