mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
Update style edition to 2024
This commit is contained in:
parent
6e0152d4e5
commit
a4355fe8aa
121 changed files with 367 additions and 335 deletions
|
|
@ -1,11 +1,13 @@
|
|||
use std::{cmp::max, collections::BTreeMap};
|
||||
|
||||
use ruma::{
|
||||
CanonicalJsonObject, OwnedRoomAliasId, RoomAliasId, RoomId,
|
||||
api::client::{
|
||||
error::ErrorKind,
|
||||
room::{self, aliases, create_room, get_room_event, upgrade_room},
|
||||
},
|
||||
events::{
|
||||
StateEventType, TimelineEventType,
|
||||
room::{
|
||||
canonical_alias::RoomCanonicalAliasEventContent,
|
||||
create::RoomCreateEventContent,
|
||||
|
|
@ -20,18 +22,16 @@ use ruma::{
|
|||
tombstone::RoomTombstoneEventContent,
|
||||
topic::RoomTopicEventContent,
|
||||
},
|
||||
StateEventType, TimelineEventType,
|
||||
},
|
||||
int,
|
||||
serde::JsonObject,
|
||||
CanonicalJsonObject, OwnedRoomAliasId, RoomAliasId, RoomId,
|
||||
};
|
||||
use serde_json::{json, value::to_raw_value};
|
||||
use tracing::{info, warn};
|
||||
|
||||
use crate::{
|
||||
api::client_server::invite_helper, service::pdu::PduBuilder, services,
|
||||
utils::room_version::RoomVersion, Ar, Error, Ra, Result,
|
||||
Ar, Error, Ra, Result, api::client_server::invite_helper,
|
||||
service::pdu::PduBuilder, services, utils::room_version::RoomVersion,
|
||||
};
|
||||
|
||||
/// # `POST /_matrix/client/r0/createRoom`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue