fix: message fail to deliver in non e2e channel#7067
fix: message fail to deliver in non e2e channel#7067
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Android Build Available Rocket.Chat Experimental 4.71.0.108436 Internal App Sharing: https://play.google.com/apps/test/RQVpXLytHNc/ahAO29uNTY2NKKz-G8xL2VIxJpHP7d59yskqisUtuNKfjNg9Q2P1moytFnnx05I_VxKw8BvZiR73TyVwugf-5CGNk8 |
|
iOS Build Available Rocket.Chat Experimental 4.71.0.108437 |
| const roomE2E = await this.getRoomInstance(rid); | ||
| if (!roomE2E || !roomE2E?.hasSessionKey()) { | ||
| return; | ||
| return message; |
There was a problem hiding this comment.
We don't have tests for this besides e2e ones, but we need to test this very carefully not to introduce regressions.
There's probably a reason that return is empty.
Proposed changes
Issue(s)
https://rocketchat.atlassian.net/browse/SUP-994
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments