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)
Thu, May 30, 1:51 PM
Unknown Object (File)
Wed, May 29, 10:57 PM
Unknown Object (File)
Wed, May 29, 9:49 PM
Unknown Object (File)
Wed, May 29, 9:49 PM
Unknown Object (File)
Fri, May 24, 11:35 AM
Unknown Object (File)
Fri, May 24, 11:32 AM
Unknown Object (File)
Sun, May 19, 3:19 PM
Unknown Object (File)
Sun, May 19, 3:19 PM
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
No Lint Coverage
Unit
No Test Coverage

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