mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 02:01:21 +00:00
send room alias on pusher notification
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
60d84195c5
commit
b921983a79
1 file changed
+7
@@ -332,6 +332,13 @@ async fn send_notice(&self, unread: UInt, pusher: &Pusher, tweaks: Vec<Tweak>, e
|
||||
.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?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user