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)
Sun, Nov 24, 7:32 AM
Unknown Object (File)
Sun, Nov 24, 6:44 AM
Unknown Object (File)
Sun, Nov 24, 6:24 AM
Unknown Object (File)
Sun, Nov 24, 4:26 AM
Unknown Object (File)
Tue, Nov 19, 6:56 PM
Unknown Object (File)
Wed, Nov 6, 7:08 PM
Unknown Object (File)
Wed, Nov 6, 7:08 PM
Unknown Object (File)
Wed, Nov 6, 6:19 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
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