Page MenuHomePhabricator

Remove branching on `.minimallyEncoded` where no longer relevant
ClosedPublic

Authored by atul on Jan 24 2024, 10:19 PM.
Tags
None
Referenced Files
F1799177: D10810.id36339.diff
Mon, May 20, 3:24 AM
F1799176: D10810.id36333.diff
Mon, May 20, 3:24 AM
F1799175: D10810.id36328.diff
Mon, May 20, 3:24 AM
F1799174: D10810.id36123.diff
Mon, May 20, 3:24 AM
F1799168: D10810.id.diff
Mon, May 20, 3:24 AM
F1799165: D10810.diff
Mon, May 20, 3:24 AM
Unknown Object (File)
Mar 9 2024, 11:33 AM
Unknown Object (File)
Mar 5 2024, 2:57 PM
Subscribers
None

Details

Summary

Remove branching on minimallyEncoded where no longer relevant.


Depends on D10807

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Jan 24 2024, 10:38 PM
tomek added inline comments.
lib/shared/thread-utils.js
1380–1381 ↗(On Diff #36123)

Just to make sure: can we assume that the defaultRole is always minimally-encoded?

1666–1668 ↗(On Diff #36123)

The same here: can we assume the encoding?

This revision is now accepted and ready to land.Jan 25 2024, 2:56 AM

Can you remove the extra newlines before landing? I'm assuming they're not intentional

Can you remove the extra newlines before landing? I'm assuming they're not intentional

Yeah my bad, really need to figure out my editor config after the ESLint/Prettier/etc bump to avoid all the noise that’s getting added. I’ll just turn it all off for now.

lib/shared/thread-utils.js
1380–1381 ↗(On Diff #36123)

Yeah, all the fields within a MinimallyEncodedThreadInfo should definitely be minimally encoded.