appwrite / appwrite/console

🐛 Bug Report: Recently Deleted Subscribers Cannot be Added Again Without a Refresh

Open
#1,465 1 comment 0 reactions 0 assignees View on GitHub
bug product / messaging
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### 👟 Reproduction steps

Pre-requisite: Assuming you have a few messaging targets [email, push, etc.] in a project & they are added in a Topic already.

---
1. Go to Console > Select a Project
2. Go to Messaging Dashboard
3. Select Topics Tab & Click on a Topic that has Subscribers
4. Select one or all subscribers > Click Delete
5. Now click on Add Subscriber, Select the recently removed subscriber and Add them
6. Message shows - `Added 0 subscribers to the topic`.

---
See -

https://github.com/appwrite/console/assets/20625965/866c63f4-3306-4e26-81a8-138924a54e52

### 👍 Expected behavior

Should be able to re-add the subscribers without a page refresh.

### 👎 Actual Behavior

Subscribers are not added after a deletion.

### 🎲 Appwrite version

Version 1.5.x

### 💻 Operating system

Linux

### 🧱 Your Environment

_No response_

### 👀 Have you spent some time to check if this issue has been raised before?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.