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
I use Rocket.Chat iframe embedded in my app. Since 7.2.0 update I've noticed that using threads may cause users to lock out in group, when rocket chat is displayed in an iframe.
Steps to reproduce:
Use an iframe integration with embedded layout
Send a message to a private group
Send a reply to your message (you or somebody else)
Reload the page / iframe
Expected behavior:
User can chat with the group as usual.
Actual behavior:
User cannot write any messages in the iframe. All the icons at the bottom are greyed out. There is a big blue 'join' button but it doesn't work. Removing and adding a user to the group again solves the issue.
In a 'regular' Rocket.Chat website this user is able to write to the group, the issue only occurs in the iframe
Desktop App or Browser Version: Google Chrome 132.0.6834.83
Operating System: Ubuntu
Relevant logs:
In the browser console I can see the following error
CachedChatSubscription.ts:124 Uncaught (in promise) TypeError: e.lr.getTime is not a function
at e.mergeWithRoom (CachedChatSubscription.ts:124:60)
at e.handleReceived (CachedChatSubscription.ts:25:15)
at e.handleRecordEvent (CachedCollection.ts:230:26)
at e.upsertSubscription (CachedChatSubscription.ts:129:15)
at onSuccess (RoomOpenerEmbedded.tsx:59:28)
I can trace it back to the following api call api/v1/subscriptions.getOne?roomId=6790f0c1c1a08316ff047d9c which indeed has some date value there - looks like some date parsing is missing. I don't know if this is the cause of the error, but I don't get this logged after user is re-added.
The text was updated successfully, but these errors were encountered:
Description:
I use Rocket.Chat iframe embedded in my app. Since 7.2.0 update I've noticed that using threads may cause users to lock out in group, when rocket chat is displayed in an iframe.
Steps to reproduce:
Expected behavior:
User can chat with the group as usual.
Actual behavior:
User cannot write any messages in the iframe. All the icons at the bottom are greyed out. There is a big blue 'join' button but it doesn't work. Removing and adding a user to the group again solves the issue.
In a 'regular' Rocket.Chat website this user is able to write to the group, the issue only occurs in the iframe
Server Setup Information:
Client Setup Information
Relevant logs:
In the browser console I can see the following error
This points me to the following line of code
Rocket.Chat/apps/meteor/app/models/client/models/CachedChatSubscription.ts
Line 124 in 1385f95
api/v1/subscriptions.getOne?roomId=6790f0c1c1a08316ff047d9c
which indeed has some date value there - looks like some date parsing is missing. I don't know if this is the cause of the error, but I don't get this logged after user is re-added.The text was updated successfully, but these errors were encountered: