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:
parent
ff59f68a9f
commit
bb2f4fb5e6
2 changed files with 6 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue