Page MenuHomePhabricator

[lib] introduce unshimMessageInfo to reaction message spec
ClosedPublic

Authored by ginsu on Dec 2 2022, 3:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 28 2024, 2:13 AM
Unknown Object (File)
Mar 28 2024, 2:07 AM
Unknown Object (File)
Mar 13 2024, 8:12 AM
Unknown Object (File)
Mar 7 2024, 12:56 PM
Unknown Object (File)
Mar 7 2024, 12:55 PM
Unknown Object (File)
Mar 7 2024, 12:54 PM
Unknown Object (File)
Mar 7 2024, 10:09 AM
Unknown Object (File)
Mar 7 2024, 1:36 AM
Subscribers

Details

Summary

introduce unshimMessageInfo to reaction message spec. unshimMessageInfo handles the unshimming of unsuported messages to a supported message by simply returning the unwrapped messageinfo of the previously unsupported message"


Depends on D5690
Linear Task: ENG-2245

Test Plan

Ran web and mobile app locally and nothing crashes/will be doing more tests on this message spec in subsequent diffs. Also in my local stack, (with some extra code that will come in subsequent diffs) I was able to get a reaction message to "unshim" which I feel is a strong indicator that this function works as expected (see screenshots below)

Reaction Message when unsupported:

Screenshot 2022-11-28 at 11.24.26 AM.png (1×1 px, 826 KB)

Reaction Message when supported:

Screenshot 2022-12-02 at 4.56.02 PM.png (1×1 px, 857 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Dec 2 2022, 3:29 PM
This revision is now accepted and ready to land.Dec 7 2022, 11:56 AM