You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Support reactions, replies and forwards of polls (#7318)
This commit is contained in:
@ -139,3 +139,8 @@ limitations under the License.
|
|||||||
font-size: $font-12px;
|
font-size: $font-12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent clicking a poll within a reply
|
||||||
|
.mx_ReplyTile .mx_MPollBody {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
@ -46,7 +46,10 @@ export function isContentActionable(mxEvent: MatrixEvent): boolean {
|
|||||||
if (content.msgtype && content.msgtype !== 'm.bad.encrypted' && content.hasOwnProperty('body')) {
|
if (content.msgtype && content.msgtype !== 'm.bad.encrypted' && content.hasOwnProperty('body')) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else if (mxEvent.getType() === 'm.sticker') {
|
} else if (
|
||||||
|
mxEvent.getType() === 'm.sticker' ||
|
||||||
|
POLL_START_EVENT_TYPE.matches(mxEvent.getType())
|
||||||
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user