Skip to content
Snippets Groups Projects
Commit f90b8a2f authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Do not cancel reminders when unsubscribing

parent 6eade078
No related branches found
No related tags found
No related merge requests found
......@@ -349,9 +349,9 @@ class ETHzLunchBot(Plugin):
await reminder.remove_subscriber(subscribing_event=evt.redacts)
# If the reminder has no users left, cancel it
if not reminder.subscribed_users or reminder.event_id == evt.redacts:
await reminder.cancel(redact_confirmation=True)
break
# if not reminder.subscribed_users or reminder.event_id == evt.redacts:
# await reminder.cancel(redact_confirmation=True)
# break
@event.on(EventType.ROOM_TOMBSTONE)
async def tombstone(self, evt: StateEvent) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment