Added 'hasBeenEdited' variable to track if the message was edited. Will be used to displaying 'edited' label.
Checked if the app compiles and works. Then tested if the status is set properly by changing labels of tooltip buttons to the edited status (instead of 'Reply' i displayed edited status).
|332 ↗||(On Diff #23479)|
|403–404 ↗||(On Diff #23479)|
To work with a read-only type, you can do this
|32 ↗||(On Diff #23479)|
Can we avoid putting this in TextMessageInfo? I don't think it belongs there... and you're doing something pretty inconsistent with how we approached reactions.
Why didn't you put this in ChatMessageInfoItem? (In the future, when you are doing something different like this, please expect that your reviewers will call you out on it, and explain it ahead of time.)
You are right. It should be in ChatMessageInfoItem. Going to update the diff.
I wasn't sure if we want to add it to RobotextChatMessageInfoItem, but reactions are there as well, so I also added it to it.