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)
Tue, Nov 12, 8:05 AM
Unknown Object (File)
Tue, Nov 12, 6:46 AM
Unknown Object (File)
Tue, Nov 12, 6:36 AM
Unknown Object (File)
Mon, Nov 11, 10:18 PM
Unknown Object (File)
Sat, Oct 26, 9:18 PM
Unknown Object (File)
Oct 14 2024, 4:59 PM
Unknown Object (File)
Oct 13 2024, 10:37 AM
Unknown Object (File)
Oct 12 2024, 7:56 AM
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