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)
Sun, Nov 10, 2:03 AM
Unknown Object (File)
Sat, Nov 9, 8:50 PM
Unknown Object (File)
Sat, Nov 9, 8:48 PM
Unknown Object (File)
Sat, Nov 9, 12:56 PM
Unknown Object (File)
Sun, Nov 3, 9:37 PM
Unknown Object (File)
Oct 23 2024, 11:57 AM
Unknown Object (File)
Oct 23 2024, 6:38 AM
Unknown Object (File)
Oct 23 2024, 6:11 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