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)
Wed, Jun 19, 1:41 PM
Unknown Object (File)
Wed, Jun 19, 1:41 PM
Unknown Object (File)
Wed, Jun 19, 1:40 PM
Unknown Object (File)
Wed, Jun 19, 1:40 PM
Unknown Object (File)
Tue, Jun 11, 8:45 PM
Unknown Object (File)
Mon, Jun 10, 2:11 PM
Unknown Object (File)
Sun, Jun 9, 3:24 PM
Unknown Object (File)
Sun, Jun 9, 12:20 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #40397)

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 ↗(On Diff #40397)

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