fix(pusher): Only strip notification_push_path as a URL suffix

This commit is contained in:
Erwan Leboucher authored and Jade Ellis committed 2026-10-12 11:14:02 +01:00
1 parent 805d4d9416
commit 24e289113b
4 files changed
+11 -20

No files matched your search

+3 -9
View File
@@ -1654,15 +1654,9 @@ pub struct Config {
/// display: sensitive
pub emergency_password: Option<String>,
/// Specifies the path where push notifications will be sent to a
/// push gateway.
///
/// When a Matrix client registers for push notifications, it will specify
/// a push gateway url where notification events will be sent.
/// According to the current spec for Matrix Push Gateways, the path should
/// always be "/_matrix/push/v1/notify".
/// You should only change this if you have configured your own push gateway
/// that requires a different path.
/// Suffix stripped from the end of a pusher URL before appending
/// "/_matrix/push/v1/notify". Only change this if your pushers register
/// URLs ending in a different path.
///
/// For more information on Push Gateways: https://spec.matrix.org/latest/push-gateway-api/
///