mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
chore: Clippy fixes
This commit is contained in:
1 parent
18b0a87b2d
commit
eadcea8034
14 files changed
+66
-52
No files matched your search
@@ -82,8 +82,7 @@ impl super::Service {
|
||||
))));
|
||||
},
|
||||
| StateEventType::RoomServerAcl =>
|
||||
self.assert_allowed_to_send_room_server_acl_event(room_id, json)
|
||||
.await?,
|
||||
self.assert_allowed_to_send_room_server_acl_event(room_id, json)?,
|
||||
| StateEventType::RoomEncryption =>
|
||||
// Forbid m.room.encryption if encryption is disabled
|
||||
if !self.services.config.allow_encryption {
|
||||
@@ -109,7 +108,7 @@ impl super::Service {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn assert_allowed_to_send_room_server_acl_event(
|
||||
fn assert_allowed_to_send_room_server_acl_event(
|
||||
&self,
|
||||
room_id: &RoomId,
|
||||
json: &Raw<AnyStateEventContent>,
|
||||
|
||||
Reference in new issue
Block a user