Page MenuHomePhabricator

[native] Expose messages fetching function through JSI
ClosedPublic

Authored by tomek on Aug 22 2024, 10:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 8:55 PM
Unknown Object (File)
Fri, Nov 8, 10:37 PM
Unknown Object (File)
Fri, Nov 8, 1:44 PM
Unknown Object (File)
Fri, Nov 8, 12:22 PM
Unknown Object (File)
Fri, Nov 8, 9:57 AM
Unknown Object (File)
Fri, Nov 8, 9:57 AM
Unknown Object (File)
Wed, Nov 6, 10:33 PM
Unknown Object (File)
Thu, Oct 24, 5:36 PM
Subscribers

Details

Summary

Expose the function through JSI so that it can be used on native clients.

https://linear.app/comm/issue/ENG-8701/create-c-functions-that-fetch-a-subset-of-messages

Depends on D13140

Test Plan

Tested this later in the stack by creating a thick thread on native, with 100 messages, closing and reopening the app, and scrolling up - verified that all the messages were eventually shown.

Diff Detail

Repository
rCOMM Comm
Branch
messages-pruning
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Aug 22 2024, 11:04 AM
Harbormaster failed remote builds in B31221: Diff 43592!
tomek requested review of this revision.Aug 23 2024, 4:11 AM

Please update the test plan, accepting it because it looks like it was tested later in the stack

This revision is now accepted and ready to land.Aug 26 2024, 2:49 AM