issue: ENG-8433
If a chat under GENESIS exists for the given list of users, we want to return it. Otherwise we want to check for DM chat for the given set of users.
Details
Tested that is a chat under GENSIS exists, it is returned. Tested that otherwise, if a DM chat exists, it is returned. Tested that if neither exist, no chat is shown, and it is possible to create a chat (DM or under GENESIS, depening on usingOlmViaTunnelbrokerForDMs flag).
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/selectors/thread-selectors.js | ||
---|---|---|
456–457 ↗ | (On Diff #43970) | We want to determine pending form for thick threads as well |
lib/shared/thread-utils.js | ||
1259 ↗ | (On Diff #43970) | If I understand the intention behind the original code correctly, we want to use the thread id of the input thread, unless a thread is being created. |