send room alias on pusher notification
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
60d84195c5
commit
b921983a79
1 changed files with 7 additions and 0 deletions
|
@ -332,6 +332,13 @@ impl Service {
|
||||||
.await
|
.await
|
||||||
.ok();
|
.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))
|
self.send_request(&http.url, send_event_notification::v1::Request::new(notifi))
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue