Page MenuHomePhabricator

[lib] Introduce `getUploadIDsFromMediaMessageServerDBContents(...)`
ClosedPublic

Authored by atul on Sep 20 2022, 4:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 10:55 AM
Unknown Object (File)
Nov 22 2024, 4:27 PM
Unknown Object (File)
Nov 22 2024, 4:00 PM
Unknown Object (File)
Nov 22 2024, 11:35 AM
Unknown Object (File)
Nov 11 2024, 2:51 AM
Unknown Object (File)
Nov 10 2024, 4:13 AM
Unknown Object (File)
Nov 2 2024, 1:15 PM
Unknown Object (File)
Nov 2 2024, 1:15 PM
Subscribers

Details

Summary

Introduce getUploadIDsFromMediaMessageServerDBContents(...) and consume in fetchUploadsForMessage(...) and assignMessageContainerToMedia(...).

Simple refactor to reduce redundant code.

Addresses feedback from @ashoat here: https://phab.comm.dev/D5087#inline-33653

Test Plan

Simple refactor, things continue to work as expected when sending media messages. Set breakpoints and ensured that values at each step were as expected.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D5190_1 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul retitled this revision from [lib] Introduce `getUploadIDsFromMediaMessageServerDBContents` to [lib] Introduce `getUploadIDsFromMediaMessageServerDBContents(...)`.
atul requested review of this revision.Sep 20 2022, 4:10 AM
This revision is now accepted and ready to land.Sep 21 2022, 7:28 AM
This revision was landed with ongoing or failed builds.Sep 21 2022, 12:53 PM
This revision was automatically updated to reflect the committed changes.