mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 01:24:04 +00:00 
			
		
		
		
	Add legacy background image
This commit is contained in:
		
							
								
								
									
										11
									
								
								src/helpers/background_image_helper.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/helpers/background_image_helper.rs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
//! # Background Image Helper
 | 
			
		||||
//!
 | 
			
		||||
//! This is a legacy module. Background image are not
 | 
			
		||||
//! Planned to be implemented anymore
 | 
			
		||||
 | 
			
		||||
use crate::data::user::UserID;
 | 
			
		||||
use crate::utils::user_data_utils::user_data_url;
 | 
			
		||||
 | 
			
		||||
pub fn get_url(_user_id: UserID) -> String {
 | 
			
		||||
    user_data_url("imgfond/0.jpg")
 | 
			
		||||
}
 | 
			
		||||
@@ -4,4 +4,5 @@ pub mod api_helper;
 | 
			
		||||
pub mod account_helper;
 | 
			
		||||
pub mod user_helper;
 | 
			
		||||
pub mod friends_helper;
 | 
			
		||||
pub mod custom_emojies_helper;
 | 
			
		||||
pub mod custom_emojies_helper;
 | 
			
		||||
pub mod background_image_helper;
 | 
			
		||||
		Reference in New Issue
	
	Block a user