HomePhabricator
Diffusion Comm 2dfff91655d0

[lib] introduced shimUnsupportedMessageInfo function to reaction message spec

Description

[lib] introduced shimUnsupportedMessageInfo function to reaction message spec

Summary:
introduced shimUnsupportedMessageInfo function in reaction message spec. shimUnsupportedMessageInfo checks if the user is below the min code version which supports reactions and if that is the case returns an unsupported message info. The robotext for this unsupported message info is "user sent a reaction".

Before landing this diff I will go back and change the minCodeVersion to be accurate to where we currently are


Depends on D5690
Linear Task: ENG-2245

Test Plan:
Please see the screenshots below to see what happens when the reaction message is "unsupported"

What it looks like on the app

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

The messageInfo object

Screenshot 2022-11-28 at 11.25.24 AM.png (568×846 px, 262 KB)

Reviewers: tomek, rohan, atul

Reviewed By: atul

Subscribers: ashoat, tomek, atul

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