Page MenuHomePhabricator

[lib] Extract hook to send logout message to primary device
ClosedPublic

Authored by bartek on Mon, Nov 25, 3:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 12:46 AM
Unknown Object (File)
Fri, Nov 29, 11:44 AM
Subscribers

Details

Summary

Part of ENG-9710.
We want to send this message not only on secondary device logout, but also on legacy logout when use_new_flow is received

Depends on D14032

Test Plan

Performed secondary device logout. Confirmed that primary device received the message.

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.Mon, Nov 25, 4:26 AM
This revision is now accepted and ready to land.Tue, Nov 26, 1:39 AM
lib/actions/user-actions.js
361 ↗(On Diff #45994)

I think we use this convention in the codebase

lib/actions/user-actions.js
361 ↗(On Diff #45994)

I think this is okay because "logout" is a noun. On the other hand, if we were using the verb form, it would be two words: "log out"