Page MenuHomePhabricator

[lib] Don't assume that threads exist in thread store when merging new messages
ClosedPublic

Authored by tomek on Sep 4 2024, 5:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 17, 12:43 PM
Unknown Object (File)
Thu, Apr 17, 10:23 AM
Unknown Object (File)
Thu, Apr 17, 5:31 AM
Unknown Object (File)
Wed, Apr 16, 2:23 PM
Unknown Object (File)
Mar 15 2025, 4:06 AM
Unknown Object (File)
Mar 15 2025, 4:06 AM
Unknown Object (File)
Mar 15 2025, 4:06 AM
Unknown Object (File)
Mar 15 2025, 4:06 AM
Subscribers

Details

Summary
Test Plan

Check if creating thin and thick threads is possible.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Sep 4 2024, 6:30 AM

This fixes my issue, thank you!

This revision is now accepted and ready to land.Sep 4 2024, 8:31 AM
lib/reducers/message-reducer.js
628 ↗(On Diff #43884)

This code might have a bug for thick sidebars. Looking at parsePendingThreadID, it seems like for pending sidebars, we assume threadTypes.SIDEBAR.

ashoat added inline comments.
lib/reducers/message-reducer.js
628 ↗(On Diff #43884)

Actually, looks like @marcin already addressed this