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:
parent
b8acacfb3e
commit
8b95399387
2 changed files with 12 additions and 1 deletions
|
@ -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>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue