mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Can open private conversation from sidebar
This commit is contained in:
		@@ -230,6 +230,18 @@ ComunicWeb.components.sideBar.main = {
 | 
				
			|||||||
			innerHTML: userFullName(user)
 | 
								innerHTML: userFullName(user)
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							// Private conversation
 | 
				
			||||||
 | 
							createElem2({
 | 
				
			||||||
 | 
								appendTo: a,
 | 
				
			||||||
 | 
								type: "span",
 | 
				
			||||||
 | 
								class: "pull-right-container",
 | 
				
			||||||
 | 
								innerHTML: "<small class='label pull-right'><i class='fa fa-comments'></i></small>",
 | 
				
			||||||
 | 
								onclick: (e) => {
 | 
				
			||||||
 | 
									e.stopImmediatePropagation();
 | 
				
			||||||
 | 
									ComunicWeb.components.conversations.manager.openPrivate(user.userID);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Supplementary information
 | 
							// Supplementary information
 | 
				
			||||||
		let subInfoEl = createElem2({
 | 
							let subInfoEl = createElem2({
 | 
				
			||||||
			appendTo: a,
 | 
								appendTo: a,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user