HomePhabricator
Diffusion Comm 484a1c2b5690

[lib] Add hook to broadcast Olm-encrypted messages

Description

[lib] Add hook to broadcast Olm-encrypted messages

Summary:
Address feedback from https://phab.comm.dev/D12944?id=43066#inline-75283
Extracted sending Olm messages (and optional session creation) to a hook.
It is used in a few places, which are updated in subsequent diffs

Test Plan: Flow. Logic tested in later diffs

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Aug 6 2024, 12:42 AM
Reviewer
kamil
Differential Revision
D12995: [lib] Add hook to broadcast Olm-encrypted messages
Parents
rCOMM901f2f5f3fd5: [lib] Add selector to get peers user and device IDs
Branches
Unknown
Tags
Unknown