Page MenuHomePhabricator

[lib][web][native] Refactor invalidSessionDowngrade for setNewSessionActionType
ClosedPublic

Authored by inka on Nov 30 2023, 5:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 14 2025, 8:42 AM
Unknown Object (File)
Jan 11 2025, 9:22 PM
Unknown Object (File)
Dec 21 2024, 1:55 AM
Unknown Object (File)
Dec 17 2024, 3:24 AM
Unknown Object (File)
Dec 17 2024, 3:24 AM
Unknown Object (File)
Dec 17 2024, 3:24 AM
Unknown Object (File)
Dec 17 2024, 3:23 AM
Unknown Object (File)
Nov 29 2024, 5:10 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-5888/refactor-invalidsessiondowngrade
We know the id of the keyserver setNewSessionActionType was called for, we should use it instead of the hardcoded ashoatKeyserverID
I will update the logic for logOutActionTypes and deleteAccountActionTypes in next diffs

Test Plan

Tested that the setNewSessionActionType still works - changes the state if invalidSessionDowngrade returns false. Checked that if a cookie or sessionId are changed invalidSessionDowngrade still returns true

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable