|  | @@ -107,7 +107,9 @@ class WorkspaceApi(object):
 | 
	
		
			
			| 107 | 107 |      def get_notifiable_roles(self, workspace: Workspace) -> [UserRoleInWorkspace]:
 | 
	
		
			
			| 108 | 108 |          roles = []
 | 
	
		
			
			| 109 | 109 |          for role in workspace.roles:
 | 
	
		
			
			| 110 |  | -            if role.do_notify==True and role.user!=self._user:
 | 
	
		
			
			|  | 110 | +            if role.do_notify==True \
 | 
	
		
			
			|  | 111 | +                    and role.user!=self._user \
 | 
	
		
			
			|  | 112 | +                    and role.user.is_active:
 | 
	
		
			
			| 111 | 113 |                  roles.append(role)
 | 
	
		
			
			| 112 | 114 |          return roles
 | 
	
		
			
			| 113 | 115 |  
 |