diff --git a/main.js b/main.js index 5132f64..d649ae7 100644 --- a/main.js +++ b/main.js @@ -60,7 +60,7 @@ async function login (peertubeHelpers, settingsManager, options) { initial_display_name: "PeerTube" })}).then(f => f.json()) if(r.access_token){ - const r2 = fetch(`https://${settings.url}/_matrix/client/logout`, { + const r2 = fetch(`https://${settings.url}/_matrix/client/v3/logout`, { method: "POST", headers: { Authorization: r.access_token