diff --git a/src/matrix/push/Pusher.js b/src/matrix/push/Pusher.js index a8ac1b21..e12db164 100644 --- a/src/matrix/push/Pusher.js +++ b/src/matrix/push/Pusher.js @@ -21,6 +21,12 @@ export class Pusher { } async enable(hsApi, log) { + try { + let endpointDomain = new URL(this._description.data.endpoint).host; + log.set("endpoint", endpointDomain); + } catch { + log.set("endpoint", null); + } await hsApi.setPusher(this._description, {log}).response(); }