You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Check for the spec version when determining private read receipt support (#9341)
Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
@@ -994,7 +994,8 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||
if (e.errcode === 'M_UNRECOGNIZED' && lastReadEvent) {
|
||||
if (
|
||||
!sendRRs
|
||||
&& !cli.doesServerSupportUnstableFeature("org.matrix.msc2285.stable")
|
||||
&& !(await cli.doesServerSupportUnstableFeature("org.matrix.msc2285.stable"))
|
||||
&& !(await cli.isVersionSupported("v1.4"))
|
||||
) return;
|
||||
try {
|
||||
return await cli.sendReadReceipt(
|
||||
|
||||
Reference in New Issue
Block a user