Page MenuHomePhabricator

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

Authored by bartek on Tue, Jul 2, 5:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 3, 3:42 AM
Unknown Object (File)
Tue, Jul 2, 6:02 PM
Unknown Object (File)
Tue, Jul 2, 6:01 PM
Unknown Object (File)
Tue, Jul 2, 6:01 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