mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 00:52:49 +02:00
Post-formatting aesthetic and spacing corrections
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
af4f66c768
commit
364293608d
72 changed files with 704 additions and 528 deletions
|
@ -305,13 +305,13 @@ impl Service {
|
|||
return Ok(());
|
||||
};
|
||||
|
||||
let response_sender = if self.is_admin_room(&pdu.room_id).await {
|
||||
let response_sender = if self.is_admin_room(pdu.room_id()).await {
|
||||
&self.services.globals.server_user
|
||||
} else {
|
||||
&pdu.sender
|
||||
pdu.sender()
|
||||
};
|
||||
|
||||
self.respond_to_room(content, &pdu.room_id, response_sender)
|
||||
self.respond_to_room(content, pdu.room_id(), response_sender)
|
||||
.boxed()
|
||||
.await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue