mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +01:00 
			
		
		
		
	stop matrix client on logout please
This commit is contained in:
		
							parent
							
								
									259d9dc3a2
								
							
						
					
					
						commit
						5cffee7ce6
					
				@ -97,6 +97,7 @@ module.exports = {
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
                Notifier.stop();
 | 
					                Notifier.stop();
 | 
				
			||||||
                Presence.stop();
 | 
					                Presence.stop();
 | 
				
			||||||
 | 
					                MatrixClientPeg.get().stopClient();
 | 
				
			||||||
                MatrixClientPeg.get().removeAllListeners();
 | 
					                MatrixClientPeg.get().removeAllListeners();
 | 
				
			||||||
                MatrixClientPeg.unset();
 | 
					                MatrixClientPeg.unset();
 | 
				
			||||||
                this.notifyNewScreen('');
 | 
					                this.notifyNewScreen('');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user