Fix passing wrong type

This commit is contained in:
Philipp Hörist 2018-10-01 21:24:52 +02:00
parent cbce361f12
commit 6cd619675f
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class LegacyContactsAPI:
status=contact.status, sub=contact.sub, ask=contact.ask,
resource=contact.resource, priority=contact.priority,
keyID=contact.keyID, client_caps=contact.client_caps,
chatstate=contact.chatstate,
chatstate=contact.chatstate_enum,
idle_time=contact.idle_time, avatar_sha=contact.avatar_sha)
def add_contact(self, account, contact):