HomePhabricator
Diffusion Comm ab089253eac4

[lib, native] [move] [ENG-991] replace canPromote thread logic to lib hook

Tags
None
Referenced Files
F43002: Image 2022-04-21 at 11.25.13 AM.jpg
May 4 2022, 4:40 AM
F42999: Screen Recording 2022-04-21 at 11.22.55 AM.gif
May 4 2022, 4:40 AM
Subscribers
None

Description

[lib, native] [move] [ENG-991] replace canPromote thread logic to lib hook

Summary:
move can promote logic to promote thread hook for reuse in web project

Screen Recording 2022-04-21 at 11.22.55 AM.gif (810×353 px, 3 MB)

Image 2022-04-21 at 11.25.13 AM.jpg (846×710 px, 67 KB)

Test Plan: logic should be exactly the same as before, no new functionality. Just moving showing promote thread logic to the hook in lib.

Reviewers: atul, palys-swm, def-au1t, yayabosh, ashoat

Reviewed By: ashoat

Subscribers: ashoat, palys-swm, Adrian, karol-bisztyga, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3807