core (memory/encryption): use utils.asDeferred for trust UI, so async coroutines can be used
This commit is contained in:
parent
973beb4220
commit
b878c3327f
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ class EncryptionHandler:
|
|||
raise NotImplementedError(
|
||||
"Encryption plugin doesn't handle trust management UI")
|
||||
else:
|
||||
return defer.maybeDeferred(get_trust_ui, self.client, entity_jid)
|
||||
return utils.asDeferred(get_trust_ui, self.client, entity_jid)
|
||||
|
||||
## Menus ##
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue