# Bot doesn't get a clue the chat was deleted by me, and keeps on sending

**URL:** <https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153>\
**Category:** Bots\
**Created:** [September 30, 2025, 3:45pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153 "2025-09-30T15:45:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![9er](https://forum.delta.chat/user_avatar/forum.delta.chat/9er/32/2678_2.png) [@9er](https://forum.delta.chat/u/9er)\
**Post date:** [September 30, 2025, 3:45pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/1 "2025-09-30T15:45:36Z")

</div>

I’m using DC Electron desktop 2.10

**Actual behavior**

1. I clicked on the invite link for some bot.
2. Conversation was established.
3. Bot sent me some messages.
4. After some time I have had enough, and deleted the conversation.
5. Bot didn’t get any clue about conversation was deleted on my end.
6. Bot keeps sending me messages, which my DC app sees as requests to setup conversation.

**Expected behavior**  
After (4) (when user wants to delete conversation) DC app should automatically send `/stop` or equivalent, and maybe check for the answer before actual deletion of conversation.

Both bots and users should probably be noted on chat deletion.

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [September 30, 2025, 5:54pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/2 "2025-09-30T17:54:13Z")

</div>

> [@9er](#):
>
> DC app should automatically send `/stop`

this is not necessary, only sync the 1:1 chat deletion with the bot (on the bot side the bot should get an event that chat was deleted with the contact id, so bot can do cleanup in case some user data was stored in some external DB etc)

this is a privacy issue, if the user deletes the chat with the bot, they expect the chat/data to also be deleted in the bot side

---

<div class="post-metadata">

**Author:** ![9er](https://forum.delta.chat/user_avatar/forum.delta.chat/9er/32/2678_2.png) [@9er](https://forum.delta.chat/u/9er)\
**Post date:** [September 30, 2025, 6:17pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/3 "2025-09-30T18:17:12Z")

</div>

You or other moderator renamed the topic. Originally it was ‘Other side doesn’t get a clue…’

If a bot should get ‘chat deleted’ notification, the human user of DC app should also get the same info in same situation.

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [October 6, 2025, 4:09pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/4 "2025-10-06T16:09:01Z")

</div>

don’t go so fast buddy, lets keep it for bots only for now, that was your original problem of the bot constantly sending you stuff

for a case of human ↔ human, it is more socially complicated because some people would say “but I don’t want others to delete the chat for me”, telegram also allows to delete 1:1 chat for both parties and I think we should do it that way as well, but to avoid endless discussions and move forward, let’s focus first on the bot problem that is easier to agree with 😉

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [October 6, 2025, 4:12pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/5 "2025-10-06T16:12:47Z")

</div>

> [@9er](#):
>
> If a bot should get ‘chat deleted’ notification, the human user of DC app should also get the same info in same situation.

and I don’t agree with this, it would be annoying and in some cases awkward, it can be an old chat etc. and then user gets a notification, also this makes it more complicated to implement UI-wise, the bot thing is a small change in core (this is what I meant with keeping it simple for now so it is easy to move forward and not go asking for full-blown complex features)

---

<div class="post-metadata">

**Author:** ![9er](https://forum.delta.chat/user_avatar/forum.delta.chat/9er/32/2678_2.png) [@9er](https://forum.delta.chat/u/9er)\
**Post date:** [October 9, 2025, 10:15am UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/6 "2025-10-09T10:15:46Z")

</div>

> [@adbenitez](#):
>
> some people would say “but I don’t want others to delete the chat for me”

It’ not about deleting chat. It’s about getting info of chat being deleted on other end.

> [@adbenitez](#):
>
> it would be annoying and in some cases awkward

I didn’t mean ‘Desktop notification’ (or their mobile analogy). It can be in the same way as _change of disapearing messages timeout_ are handeled now - just specially styled mesage in chat log, not a ‘loud’ notification.

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [October 14, 2025, 4:45pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/7 "2025-10-14T16:45:01Z")

</div>

yo, you literally came to me complaining that you deleted the chat of PixelSocial bot but the bot keeps sending stuff, that was the problem you had and why I recommended you to open this post here, now you are diverging too much…

---

<div class="post-metadata">

**Author:** ![Raiden](https://forum.delta.chat/user_avatar/forum.delta.chat/raiden/32/2544_2.png) [@Raiden](https://forum.delta.chat/u/Raiden)\
**Post date:** [October 14, 2025, 6:04pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/8 "2025-10-14T18:04:59Z")

</div>

> [@9er](#):
>
> It’ not about deleting chat. It’s about getting info of chat being deleted on other end.

In PixelSocial, you have to exit with the command “/stop”.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [October 14, 2025, 6:46pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/9 "2025-10-14T18:46:56Z")

</div>

A way for the bot to fix this currently would be not to use 1:1 chat, but create a dedicated chat with just one user and send there. Then the user will be able to leave it without having to figure out which command should be sent.

---

<div class="post-metadata">

**Author:** ![adbenitez](https://forum.delta.chat/user_avatar/forum.delta.chat/adbenitez/32/2323_2.png) [@adbenitez](https://forum.delta.chat/u/adbenitez)\
**Post date:** [October 15, 2025, 2:03pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/10 "2025-10-15T14:03:10Z")

</div>

the reason the bot can’t use groups is because webxdc API limitations, you don’t know to whom a webxdc status update belongs to, so you need the 1:1 chat as a way to warranty the identity of the sender

sure, this needs to be fixed/improved in core, but independently the feature to “stop a bot” by deleting its chat is the right approach and is how it works on Telegram which is “state of the art” wrt bots

also because creating an additional group is confusing for the user, when they scan the bot’s 1:1 QR they get the chat with the bot and then an additional group chat etc. a dynamic invite link that gives a command to the bot and the bot directly puts the user into a new group instead of creating 1:1 chat would also be nice

---

<div class="post-metadata">

**Author:** ![9er](https://forum.delta.chat/user_avatar/forum.delta.chat/9er/32/2678_2.png) [@9er](https://forum.delta.chat/u/9er)\
**Post date:** [October 21, 2025, 8:07pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/11 "2025-10-21T20:07:00Z")

</div>

> [@adbenitez](#):
>
> complaining that you deleted the chat of PixelSocial bot but the bot keeps sending stuff, that was the problem you had

Sorry for late answer.  
Yes, I literally came to you - because it’s your bot 🙂

But you told me it’s not the single bot problem, it’s common for all the DC bots, and method to handle such case should be added to DC. So my starting post here was more generic.  
I can’t help to fix it, at least right now. But I can at least make this issue more visible.

But when some information is not available for human but in the same time available for bot - I see the discrimination of humans here 🤩

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 21, 2026, 8:08pm UTC](https://forum.delta.chat/t/bot-doesnt-get-a-clue-the-chat-was-deleted-by-me-and-keeps-on-sending/4153/12 "2026-10-21T20:08:01Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
