mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Get groups logos
This commit is contained in:
		@@ -222,6 +222,15 @@ ComunicWeb.components.account.export.worker = {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/**
 | 
				
			||||||
 | 
							 * Parse group information
 | 
				
			||||||
 | 
							 * 
 | 
				
			||||||
 | 
							 * @param {Group} g Information about the target group
 | 
				
			||||||
 | 
							 */
 | 
				
			||||||
 | 
							const parseGroupInfo = (g) => {
 | 
				
			||||||
 | 
								files.add(g.icon_url)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Main account information
 | 
							//Main account information
 | 
				
			||||||
		files.add(data.advanced_info.accountImage);
 | 
							files.add(data.advanced_info.accountImage);
 | 
				
			||||||
@@ -247,6 +256,9 @@ ComunicWeb.components.account.export.worker = {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							// Groups
 | 
				
			||||||
 | 
							data.groups.forEach(parseGroupInfo)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Related user information
 | 
							//Related user information
 | 
				
			||||||
		for (var key in data.users_info) {
 | 
							for (var key in data.users_info) {
 | 
				
			||||||
			if (data.users_info.hasOwnProperty(key)) {
 | 
								if (data.users_info.hasOwnProperty(key)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user