Page MenuHomePhabricator

[native] Expose messages fetching function through JSI
ClosedPublic

Authored by tomek on Aug 22 2024, 10:40 AM.
Tags
None
Referenced Files
F2842314: D13141.diff
Sun, Sep 29, 1:17 PM
Unknown Object (File)
Wed, Sep 25, 3:44 PM
Unknown Object (File)
Wed, Sep 25, 3:44 PM
Unknown Object (File)
Wed, Sep 25, 3:44 PM
Unknown Object (File)
Wed, Sep 25, 3:44 PM
Unknown Object (File)
Wed, Sep 25, 3:44 PM
Unknown Object (File)
Tue, Sep 24, 11:27 PM
Unknown Object (File)
Sat, Sep 14, 10:32 AM
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