Page MenuHomePhabricator

[native] Expose LogOutSecondaryDevice RPC via JSI
ClosedPublic

Authored by bartek on May 20 2024, 5:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 11:24 PM
Unknown Object (File)
Fri, Nov 29, 4:40 AM
Unknown Object (File)
Fri, Nov 29, 2:07 AM
Unknown Object (File)
Mon, Nov 25, 3:20 PM
Unknown Object (File)
Mon, Nov 11, 11:22 AM
Unknown Object (File)
Mon, Nov 11, 6:09 AM
Unknown Object (File)
Sun, Nov 10, 10:07 PM
Unknown Object (File)
Sat, Nov 2, 12:35 AM
Subscribers

Details

Summary

Added LogOutSecondaryDevice RPC to native_rust_library and CommRustModule

Depends on D12120

Test Plan

Native compiles. Tested together with the next diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.May 20 2024, 6:26 AM
kamil added inline comments.
native/native_rust_library/src/identity/account_actions.rs
221

is there any benefit of doing this here, not like we are doing right now where each RPC has its own helper function?

This revision is now accepted and ready to land.May 23 2024, 2:39 AM
native/native_rust_library/src/identity/account_actions.rs
221

Just to avoid code duplication. This RPC is so simple (no inputs/outputs besides auth metadata) that it's worth doing it this way