HomePhabricator
Diffusion Comm 7b122b94885a

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

Description

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

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.

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12637

Details

Provenance
bartekAuthored on Tue, Jul 2, 4:23 AM
Reviewer
kamil
Differential Revision
D12637: [lib] Extract handling Olm P2P messages to a separate function
Parents
rCOMMd30205e170b3: [lib] Add Primary Device Logout P2P message type
Branches
Unknown
Tags
Unknown