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
F3374404: D10810.diff
Tue, Nov 26, 3:26 PM
Unknown Object (File)
Thu, Nov 7, 3:51 AM
Unknown Object (File)
Tue, Nov 5, 3:16 PM
Unknown Object (File)
Oct 25 2024, 9:45 PM
Unknown Object (File)
Oct 15 2024, 10:07 PM
Unknown Object (File)
Oct 15 2024, 10:07 PM
Unknown Object (File)
Oct 15 2024, 10:07 PM
Unknown Object (File)
Oct 15 2024, 10:06 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
No Lint Coverage
Unit
No Test Coverage

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.