feat(xep): Replace DiscoError with StanzaError.
Signed-off-by: Ikjot Singh Dhody <ikjotsd@gmail.com>
This commit is contained in:
		
							parent
							
								
									9e70e802ef
								
							
						
					
					
						commit
						04dfc6d2ac
					
				@ -35,7 +35,7 @@ class MUCManager extends XmppManagerBase {
 | 
			
		||||
    final result = await getAttributes()
 | 
			
		||||
        .getManagerById<DiscoManager>(discoManager)!
 | 
			
		||||
        .discoInfoQuery(roomJID);
 | 
			
		||||
    if (result.isType<DiscoError>()) {
 | 
			
		||||
    if (result.isType<StanzaError>()) {
 | 
			
		||||
      return Result(InvalidStanzaFormat());
 | 
			
		||||
    }
 | 
			
		||||
    try {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user