Details
Please watch the demo video to see that everything works as expected and there are no regressions:
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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 ↗ | (On Diff #19441) | Helper function isn't needed, please inline this |
379–380 ↗ | (On Diff #19441) | Condition isn't needed |
386 ↗ | (On Diff #19441) | This case will never trigger? |
lib/shared/messages/reaction-message-spec.js | ||
212 ↗ | (On Diff #19441) | Helper function isn't needed, please inline this |
216 ↗ | (On Diff #19441) | Condition isn't needed |
224 ↗ | (On Diff #19441) | This case will never trigger? |