add support for modifying the default notification pusher path
this is not officially in spec yet, but who cares? matrix team certainly doesn't care. Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
@@ -52,7 +52,7 @@ impl Service {
|
||||
where
|
||||
T: Debug,
|
||||
{
|
||||
let destination = destination.replace("/_matrix/push/v1/notify", "");
|
||||
let destination = destination.replace(services().globals.notification_push_path(), "");
|
||||
|
||||
let http_request = request
|
||||
.try_into_http_request::<BytesMut>(
|
||||
|
||||
Reference in New Issue
Block a user