Page MenuHomePhabricator

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

Authored by tomek on Wed, Sep 4, 5:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 26, 6:21 PM
Unknown Object (File)
Tue, Sep 17, 6:30 PM
Unknown Object (File)
Sun, Sep 15, 12:14 PM
Unknown Object (File)
Sat, Sep 14, 5:38 PM
Unknown Object (File)
Sat, Sep 14, 2:02 PM
Unknown Object (File)
Tue, Sep 10, 3:01 AM
Unknown Object (File)
Mon, Sep 9, 1:45 PM
Unknown Object (File)
Sun, Sep 8, 11:42 PM
Subscribers

Details

Summary
Test Plan

Check if creating thin and thick threads is possible.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

This fixes my issue, thank you!

This revision is now accepted and ready to land.Wed, Sep 4, 8:31 AM
lib/reducers/message-reducer.js
628

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

Actually, looks like @marcin already addressed this