chore(examples): Upgrade to Rust edition 2024
This commit is contained in:
committed by
Damir Jelić
parent
06732ca71a
commit
4a1249fa96
@@ -1,11 +1,11 @@
|
||||
use std::{env, process::exit};
|
||||
|
||||
use matrix_sdk::{
|
||||
Client, Room, RoomState,
|
||||
config::SyncSettings,
|
||||
ruma::events::room::message::{
|
||||
MessageType, OriginalSyncRoomMessageEvent, RoomMessageEventContent,
|
||||
},
|
||||
Client, Room, RoomState,
|
||||
};
|
||||
|
||||
async fn on_room_message(event: OriginalSyncRoomMessageEvent, room: Room) {
|
||||
|
||||
Reference in New Issue
Block a user