send room alias on pusher notification

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-10-26 17:39:27 -04:00
parent 60d84195c5
commit b921983a79

View file

@ -332,6 +332,13 @@ impl Service {
.await
.ok();
notifi.room_alias = self
.services
.state_accessor
.get_canonical_alias(&event.room_id)
.await
.ok();
self.send_request(&http.url, send_event_notification::v1::Request::new(notifi))
.await?;
}