Page MenuHomePhabricator

[lib] Extract handling Olm P2P messages to a separate function
ClosedPublic

Authored by bartek on Jul 2 2024, 5:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 21 2025, 1:24 AM
Unknown Object (File)
Feb 21 2025, 1:24 AM
Unknown Object (File)
Feb 21 2025, 1:24 AM
Unknown Object (File)
Feb 21 2025, 1:24 AM
Unknown Object (File)
Feb 3 2025, 9:05 AM
Unknown Object (File)
Jan 24 2025, 9:36 PM
Unknown Object (File)
Jan 22 2025, 12:11 AM
Unknown Object (File)
Jan 21 2025, 9:02 PM
Subscribers

Details

Summary

Code for handling ENCRYPTED_MESSAGE is expected to grow really large, so extracted this logic to a separate hook.
It can be split further into smaller functions when it grows too large (e.g. separate function for user actions).

Depends on D12636

Test Plan

Flow. Also checked secondary device logout - it still works as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable