HomePhabricator
Diffusion Comm c9c5ad27ff0b

[keyserver] Make mediaFromRow return a Promise

Description

[keyserver] Make mediaFromRow return a Promise

Summary:
In D4521 we end up needing to await getDBType() in the message-fetchers.js code because we need to parse the query results differently depending on whether it came from MySQL 5.7 or MariaDB 10.8.

Depends on D4519

Test Plan: Flow; tested in combination with next diffs

Reviewers: jonringer-comm, atul, palys-swm

Reviewed By: atul

Subscribers: Adrian, yayabosh

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

Details

Provenance
ashoatAuthored on Jul 13 2022, 9:24 AM
Reviewer
atul
Differential Revision
D4520: [keyserver] Make mediaFromRow return a Promise
Parents
rCOMMb2454cbd5f45: [keyserver] Make rawMessageInfoFromRows return a Promise
Branches
Unknown
Tags
Unknown