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
F3366397: D12637.id42005.diff
Mon, Nov 25, 11:17 AM
F3366249: D12637.id41880.diff
Mon, Nov 25, 10:21 AM
Unknown Object (File)
Thu, Nov 21, 11:45 PM
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
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
No Lint Coverage
Unit
No Test Coverage