Properly name values passed to EncryptionPrepareException

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-08-25 00:35:30 +02:00
parent 2a346ac48d
commit 96e4ecf683
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -144,7 +144,9 @@ class MissingOwnKey(XEP0384): pass
class NoAvailableSession(XEP0384): pass
class EncryptionPrepareException(XEP0384): pass
class EncryptionPrepareException(XEP0384):
def __init__(self, errors):
self.errors = errors
class UntrustedException(XEP0384):