Details
Please watch the demo video to see that everything works as expected and there are no regressions:
Diff Detail
- Repository
- rCOMM Comm
- Branch
- eng-2243 (branched from master)
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Don't we need to make changes to lib/shared/messages/message-spec.js to accommodate this? Feel free to re-request review if I'm missing something
I was thinking that this function would be a separate helper function in the message spec like shimMediaMessageInfo in the multimedia message spec, since messagePreviewText only gets called inside the message spec; however, if I am mistaken I can definitely implement it in the way you have described
Agree with @atul
| lib/shared/messages/multimedia-message-spec.js | ||
|---|---|---|
| 374 | Helper function isn't needed, please inline this | |
| 379–380 | Condition isn't needed | |
| 386 | This case will never trigger? | |
| lib/shared/messages/reaction-message-spec.js | ||
| 212 | Helper function isn't needed, please inline this | |
| 216 | Condition isn't needed | |
| 224 | This case will never trigger? | |