fix: room directory duplicates
This commit is contained in:
		
							parent
							
								
									b12ae15a45
								
							
						
					
					
						commit
						cd55220a75
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -7,7 +7,7 @@ pub struct MultiValue(sled::Tree); | ||||||
| impl MultiValue { | impl MultiValue { | ||||||
|     /// Get an iterator over all values.
 |     /// Get an iterator over all values.
 | ||||||
|     pub fn iter_all(&self) -> sled::Iter { |     pub fn iter_all(&self) -> sled::Iter { | ||||||
|         self.0.iter() |         self.0.scan_prefix(b"d") | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /// Get an iterator over all values of this id.
 |     /// Get an iterator over all values of this id.
 | ||||||
|  |  | ||||||
|  | @ -471,9 +471,9 @@ fn get_public_rooms_filtered_route( | ||||||
| fn get_protocols_route( | fn get_protocols_route( | ||||||
|     body: Ruma<get_protocols::Request>, |     body: Ruma<get_protocols::Request>, | ||||||
| ) -> MatrixResult<get_protocols::Response> { | ) -> MatrixResult<get_protocols::Response> { | ||||||
|     MatrixResult(Ok(dbg!(get_protocols::Response { |     MatrixResult(Ok(get_protocols::Response { | ||||||
|         protocols: HashMap::new(), |         protocols: HashMap::new(), | ||||||
|     }))) |     })) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #[put(
 | #[put(
 | ||||||
|  | @ -618,7 +618,7 @@ fn main() { | ||||||
|     } |     } | ||||||
|     pretty_env_logger::init(); |     pretty_env_logger::init(); | ||||||
| 
 | 
 | ||||||
|     let data = Data::load_or_create("localhost"); |     let data = Data::load_or_create("matrixtesting.koesters.xyz"); | ||||||
|     data.debug(); |     data.debug(); | ||||||
| 
 | 
 | ||||||
|     rocket::ignite() |     rocket::ignite() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue