Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Room not being deleted in realtime #2479

Open
Shailesh351 opened this issue Sep 11, 2019 · 0 comments
Open

Room not being deleted in realtime #2479

Shailesh351 opened this issue Sep 11, 2019 · 0 comments

Comments

@Shailesh351
Copy link
Contributor

Describe the bug

When the room is deleted(user leaves the room) it is not being deleted from chatrooms screen while app is open.

User needs to restart the app for it

To Reproduce

  1. Keep chatrooms screen open in mobile
  2. Leave channel from web
  3. Above bug occurs

Expected behavior

Rooms should be deleted in real time. Earlier it was working as expected.

Logs

when room is removed, in the subscription server sends update with type updated instead of removed. That may be the reason of issues

[StreamMessage(type=chat.rocket.core.internal.realtime.socket.model.Type$Updated@5ea5fa7, data=Room(id=Zirt5gb2bsBBv9KNZ, type=p, user=SimpleUser(id=kMWuK9HCXi9gFfamT, username=Shailesh351, name=null), name=testttiiing1, fullName=testttiiing1, readonly=false, updatedAt=1567402532496, topic=null, description=null, announcement=null, lastMessage=Message(id=RNQ9DXzAhqdEz5mPN, roomId=Zirt5gb2bsBBv9KNZ, message=hi, timestamp=1567402492243, sender=SimpleUser(id=kMWuK9HCXi9gFfamT, username=Shailesh351, name=Shailesh351), updatedAt=1567402492280, editedAt=null, editedBy=null, senderAlias=null, avatar=null, type=null, groupable=false, parseUrls=false, urls=null, mentions=[], channels=[], attachments=null, pinned=false, starred=null, reactions=null, role=null, synced=true, unread=true), broadcast=false, muted=null))]

Devices and Versions

Your Rocket.Chat.Android version: 3.5.1
Your Rocket.Chat Server version: 2.0.0-r .3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant