@@ -4,7 +4,7 @@ use ruma::{
44 events:: room:: { guest_access:: GuestAccess , history_visibility:: HistoryVisibility } ,
55 room:: RoomType ,
66 space:: SpaceRoomJoinRule ,
7- OwnedMxcUri , OwnedRoomAliasId , OwnedRoomId , OwnedUserId , UInt ,
7+ uint , OwnedMxcUri , OwnedRoomAliasId , OwnedRoomId , OwnedUserId , UInt ,
88} ;
99
1010const METADATA : Metadata = metadata ! {
@@ -103,9 +103,9 @@ impl Response {
103103 topic : None ,
104104 avatar : None ,
105105 canonical_alias : None ,
106- joined_members : 0u32 . into ( ) ,
107- joined_local_members : 0u32 . into ( ) ,
108- joined_local_devices : 0u32 . into ( ) ,
106+ joined_members : uint ! ( 0 ) ,
107+ joined_local_members : uint ! ( 0 ) ,
108+ joined_local_devices : uint ! ( 0 ) ,
109109 version : None ,
110110 creator : None ,
111111 encryption : None ,
@@ -114,7 +114,7 @@ impl Response {
114114 join_rules : None ,
115115 guest_access : None ,
116116 history_visibility : None ,
117- state_events : 0u32 . into ( ) ,
117+ state_events : uint ! ( 0 ) ,
118118 room_type : None ,
119119 forgotten : false ,
120120 }
0 commit comments