fix: Bump ruwuma again

This commit is contained in:
timedout
2026-03-03 18:10:28 +00:00
parent f4af67575e
commit b507898c62
5 changed files with 23 additions and 18 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ use ruma::{
set_room_account_data,
},
events::{
AnyGlobalAccountDataEventContent, AnyRoomAccountDataEventContent, RoomAccountDataEventType,
AnyGlobalAccountDataEventContent, AnyRoomAccountDataEventContent,
RoomAccountDataEventType,
},
serde::Raw,
};
@@ -63,7 +63,9 @@ where
},
| hash_map::Entry::Occupied(_) => {
return Err!(Database(
"State event's type and state_key combination exists multiple times.",
"State event's type and state_key combination exists multiple times: {}, {}",
pdu.kind(),
state_key
));
},
}
@@ -162,7 +162,9 @@ where
},
| hash_map::Entry::Occupied(_) => {
return Err!(Request(InvalidParam(
"Auth event's type and state_key combination exists multiple times.",
"Auth event's type and state_key combination exists multiple times: {}, {}",
auth_event.kind,
auth_event.state_key().unwrap_or("")
)));
},
}