HomePhabricator
Diffusion Comm ba1a449ef488

[web] Introduce getRelatedMessages to shared worker

Description

[web] Introduce getRelatedMessages to shared worker

Summary:
This diff introduces the code on web to interface with our new getRelatedMessages API exposed via WASM.

Depends on D12737

Test Plan:

  1. In combination with later diffs, I tested a patch on both native and web that hit getRelatedMessages with a specific message ID and confirmed that it returned the message
  2. I tested a message ID that did not exist and confirmed I got undefined back

Reviewers: kamil, tomek, marcin

Reviewed By: marcin

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

Details

Provenance
ashoatAuthored on Jul 12 2024, 12:48 PM
Reviewer
marcin
Differential Revision
D12738: [web] Introduce getRelatedMessages to shared worker
Parents
rCOMMae2fd4b4f144: [SQLite] Introduce getRelatedMessages
Branches
Unknown
Tags
Unknown