Fix group join by chat id

This commit is contained in:
Ingvar 2018-01-08 22:40:52 +03:00 committed by GitHub
parent 2fc90880b8
commit 098f295cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1568,7 +1568,7 @@ class Tox:
""" """
error = c_int() error = c_int()
result = Tox.libtoxcore.tox_group_join(self._tox_pointer, chat_id, result = Tox.libtoxcore.tox_group_join(self._tox_pointer, string_to_bin(chat_id),
password, password,
len(password) if password is not None else 0, len(password) if password is not None else 0,
byref(error)) byref(error))