You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TheMardy opened this issue
Jan 17, 2022
· 1 comment
Assignees
Labels
api / realtimeFixes and upgrades for the Appwrite Realtime API.bugSomething isn't workingproduct / authFixes and upgrades for the Appwrite Auth / Users / Teams services.
3 unexpected Results with realtime events, unsure if it is expected behavior:
Have an active session and realtime subscription to teams, create a team.
Have an active session and realtime subscription to memberships, update team membership status.
Have an active session and realtime subscription to account, delete all sessions
👍 Expected behavior
Realtime teams.create event is sent to the owner when he creates a team using the client SDK
Realtime teams.memberships.update.status event is sent to the member updating the status, and the team owner(s) when the member updates his membership status using the client SDK
Realtime account.session.delete event is sent to the user when he deletes all sessions using the client sdk (sdk.account.deleteSessions())
👎 Actual Behavior
Realtime teams.create event is not sent to the owner when he creates a team using the client SDK (I could imagine this is expected as the owner is not yet in the team the moment it is created)
Realtime teams.memberships.update.status event is not sent to the member updating the status, nor the team owner when the member updates his membership status using the client SDK
Realtime account.session.delete event is not sent to the user when he deletes all sessions using the client sdk (sdk.account.deleteSessions()), but it is sent when deleting the single current session.
🎲 Appwrite version
Version 0.12.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
api / realtimeFixes and upgrades for the Appwrite Realtime API.bugSomething isn't workingproduct / authFixes and upgrades for the Appwrite Auth / Users / Teams services.
👟 Reproduction steps
3 unexpected Results with realtime events, unsure if it is expected behavior:
Have an active session and realtime subscription to
teams
, create a team.Have an active session and realtime subscription to
memberships
, update team membership status.Have an active session and realtime subscription to
account
, delete all sessions👍 Expected behavior
Realtime teams.create event is sent to the owner when he creates a team using the client SDK
Realtime teams.memberships.update.status event is sent to the member updating the status, and the team owner(s) when the member updates his membership status using the client SDK
Realtime account.session.delete event is sent to the user when he deletes all sessions using the client sdk (sdk.account.deleteSessions())
👎 Actual Behavior
Realtime teams.create event is not sent to the owner when he creates a team using the client SDK (I could imagine this is expected as the owner is not yet in the team the moment it is created)
Realtime teams.memberships.update.status event is not sent to the member updating the status, nor the team owner when the member updates his membership status using the client SDK
Realtime account.session.delete event is not sent to the user when he deletes all sessions using the client sdk (sdk.account.deleteSessions()), but it is sent when deleting the single current session.
🎲 Appwrite version
Version 0.12.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: