Repository navigation
feat: forward message - #5110
Conversation
|
Looks like forward message feature |
| Message_GroupingPeriod?: number; | ||
| isReadReceiptEnabled?: boolean; | ||
| isThreadRoom: boolean; | ||
| isThreadRoom?: boolean; |
There was a problem hiding this comment.
Better to make it default false instead of creating 3 possibilities.
There was a problem hiding this comment.
I tried to set the false at the static defaultProps, but it didn't work! I researched how to do it with classes and didn't find a solution. Do you know how to do it?
| serverVersion={serverVersion} | ||
| /> | ||
| <View pointerEvents='none'> | ||
| <Message |
There was a problem hiding this comment.
Missing real name.
Make sure to check for other missing props.
Also, there's an extra padding. Check Figma.
| state => ({ | ||
| user: getUserSelector(state), | ||
| server: state.server.server, | ||
| blockUnauthenticatedAccess: !!state.settings.Accounts_AvatarBlockUnauthenticatedAccess ?? true, |
There was a problem hiding this comment.
make TS happy and keep only the boolean, not the TSettingValue
| setSending(true); | ||
| const permalink = await getPermalinkMessage(message); | ||
| const msg = `[ ](${permalink})\n`; | ||
| await Promise.all(roomsId.map(roomId => postMessage(roomId, msg))); |
There was a problem hiding this comment.
This comment gives me the impression this loop isn't really needed, but I see the frontend is doing the same thing 🙈 https://github.com/RocketChat/Rocket.Chat/blob/67a299b3546d702620c17b72cb81e31981b96de5/apps/meteor/app/api/server/v1/chat.ts#L206
Proposed changes
Feature: Forwarding messages
Issue(s)
How to test or reproduce
Screenshots
Screen.Recording.2023-06-28.at.23.57.25.mov
Types of changes
Checklist
Further comments
TC-696