HomePhabricator
Diffusion Comm 7b3dc8969c6d

[lib] fix pinned content for non-media messages

Description

[lib] fix pinned content for non-media messages

Summary:
Context in ENG-3897.

To fix problem adding condition if media_infos is empty array (which should prevent calling translateClientDBMediaInfosToMedia for non-media messages.

Test Plan: Check on physical device and prod backend if error disappeared.

Reviewers: tomek, atul

Reviewed By: atul

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on May 16 2023, 7:36 AM
Reviewer
atul
Differential Revision
D7842: [lib] fix pinned content for non-media messages
Parents
rCOMM318b4a97c7c5: [native] Factor out loading spinner from SIWEPanel
Branches
Unknown
Tags
Unknown