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)
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
Unknown Object (File)
Oct 18 2024, 5:18 PM
Unknown Object (File)
Oct 18 2024, 12:03 PM
Unknown Object (File)
Oct 12 2024, 6:20 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
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