diff options
author | Philipp Hörist <philipp@hoerist.com> | 2018-12-28 03:19:52 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2018-12-30 21:49:08 +0300 |
commit | 5e78d092dce8bd377023619683f85fef39563fe0 (patch) | |
tree | 21871987cec67f2dbef0b7774f9aef39b35bf8f9 /nbxmpp/structs.py | |
parent | a6f414a3e02fbd9ba1c90faf91b63a5526f6caef (diff) |
Add VCardAvatar (XEP-0153) module
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index e577e43..fcc7156 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -19,6 +19,7 @@ import time from collections import namedtuple from nbxmpp.const import MessageType +from nbxmpp.const import AvatarState StanzaHandler = namedtuple('StanzaHandler', 'name callback typ ns xmlns system priority') @@ -124,6 +125,8 @@ class PresenceProperties: self.signed = None self.error_message = '' self.error_code = '' + self.avatar_sha = None + self.avatar_state = AvatarState.IGNORE class BaseResult: |