|
|
|
@ -230,6 +230,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -258,6 +259,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some(sender_user.to_string()), |
|
|
|
state_key: Some(sender_user.to_string()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -311,6 +313,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -334,6 +337,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -360,6 +364,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -381,6 +386,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -403,6 +409,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -447,6 +454,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -469,6 +477,7 @@ pub async fn create_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&room_id, |
|
|
|
&room_id, |
|
|
|
@ -629,6 +638,7 @@ pub async fn upgrade_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&body.room_id, |
|
|
|
&body.room_id, |
|
|
|
@ -730,6 +740,7 @@ pub async fn upgrade_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&replacement_room, |
|
|
|
&replacement_room, |
|
|
|
@ -758,6 +769,7 @@ pub async fn upgrade_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some(sender_user.to_string()), |
|
|
|
state_key: Some(sender_user.to_string()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&replacement_room, |
|
|
|
&replacement_room, |
|
|
|
@ -800,6 +812,7 @@ pub async fn upgrade_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&replacement_room, |
|
|
|
&replacement_room, |
|
|
|
@ -850,6 +863,7 @@ pub async fn upgrade_room_route( |
|
|
|
unsigned: None, |
|
|
|
unsigned: None, |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
state_key: Some("".to_owned()), |
|
|
|
redacts: None, |
|
|
|
redacts: None, |
|
|
|
|
|
|
|
timestamp: None, |
|
|
|
}, |
|
|
|
}, |
|
|
|
sender_user, |
|
|
|
sender_user, |
|
|
|
&body.room_id, |
|
|
|
&body.room_id, |
|
|
|
|