Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Synapse does not advertise support for MSC3030 or Matrix v1.6 'Jump to Date' #15449

Closed
YamatoRyou opened this issue Apr 17, 2023 · 3 comments
Closed
Labels
T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@YamatoRyou
Copy link

Description

Clients used during testing:
A: Element Desktop 1.11.23 (OS: 64-bit Windows 7 SP1);
B: Element Desktop 1.11.29 (OS: 64-bit Windows 10, 10.0.19044);
C: Element Web (Dev, version: 38dbd664742a-react-93858813a314-js-d40d5c8a397f, Chromium 102.0.5005.167)

homeserver.yaml has the following flags:

experimental_features:
   msc3030_enabled: true

The performance of each client:
A: There is no "Jump to Date" option in "Labs", but actually this function works normally;
B & C: There is a "jump to date" option in the lab, but this option cannot be enabled, prompting "requires your server to support MSC3030".

GET /_matrix/client/versions result:

{"versions":["r0.0.1","r0.1.0","r0.2.0","r0.3.0","r0.4.0","r0.5.0","r0.6.0","r0 .6.1","v1.1","v1.2","v1.3","v1.4","v1.5"],"unstable_features":{"org.matrix.label_based_filtering":true, "org.matrix.e2e_cross_signing":true,"org.matrix.msc2432":true,"uk.half-shot.msc2666.mutual_rooms":true,"io.element.e2ee_forced.public":false,"io.element .e2ee_forced.private": false,"io.element.e2ee_forced.trusted_private":false,"org.matrix.msc3026.busy_presence":false,"org.matrix.msc2285.stable":true,"org.matrix.msc3827 .stable":true,"org.matrix.msc2716":false,"org.matrix.msc3440.stable":true,"org.matrix.msc3771":true,"org.matrix.msc3773":false,"fi .mau.msc2815":false,"fi.mau.msc2659":false,"org.matrix.msc3882":true,"org.matrix.msc3881":true,"org.matrix.msc3874":false,"org .matrix.msc3886":true,"org.matrix.msc3912":false,"org.matrix.msc3952_intentional_mentions":false}}

Steps to reproduce

n/a

Homeserver

Self-hosted

Synapse Version

Synapse 1.81.0

Installation Method

Docker (matrixdotorg/synapse)

Database

PostgreSQL 14.5

Workers

Single process

Platform

Linux DiskStation 3.10.105 #25426 SMP Mon Dec 14 18:46:52 CST 2020 x86_64 GNU/Linux

Configuration

experimental_features:
   msc3030_enabled: true

Relevant log output

n/a

Anything else that would be useful to know?

Related issues: element-hq/element-web#24976

@reivilibre reivilibre changed the title "Jump to date" behaved strangely. Synapse does not advertise support for MSC3030 'Jump to Date' Apr 17, 2023
@reivilibre
Copy link
Contributor

From the MSC:

Servers will indicate support for the new endpoint via a non-empty value for feature flag org.matrix.msc3030 in unstable_features in the response to GET /_matrix/client/versions.

However the MSC has been stabilised and merged into the next spec version — the codebase no longer mentions MSC3030 at all and the option msc3030_enabled: true has been removed.

This endpoint is under a stable prefix now ("^/_matrix/client/v1/rooms/(?P<room_id>[^/]*)/timestamp_to_event$"), which was added in v1.6 of the Matrix specification.

So the real issue seems to be that Synapse needs to support spec version v1.6 and advertise support for it... I will create a new issue for this, since it doesn't seem we even have a tracking issue for v1.6 support...

@reivilibre reivilibre changed the title Synapse does not advertise support for MSC3030 'Jump to Date' Synapse does not advertise support for MSC3030 or Matrix v1.6 'Jump to Date' Apr 17, 2023
@reivilibre
Copy link
Contributor

See #15451, the issue tracking Matrix v1.6 support.

@reivilibre reivilibre added the T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. label Apr 17, 2023
@clokep
Copy link
Member

clokep commented Apr 20, 2023

I think this is essentially a duplicate of #15089?

@clokep clokep closed this as completed Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants