HomePhabricator
Diffusion Comm b2454cbd5f45

[keyserver] Make rawMessageInfoFromRows return a Promise

Description

[keyserver] Make rawMessageInfoFromRows 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 D4518

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/D4519

Details

Provenance
ashoatAuthored on Jul 13 2022, 9:05 AM
Reviewer
atul
Differential Revision
D4519: [keyserver] Make rawMessageInfoFromRows return a Promise
Parents
rCOMMe2cb36c1a0d9: [keyserver] Introduce getDBType function to distinguish MySQL and MariaDB
Branches
Unknown
Tags
Unknown