From 098f295cb0306647635af5cdaa4e9889f4802bd3 Mon Sep 17 00:00:00 2001 From: Ingvar Date: Mon, 8 Jan 2018 22:40:52 +0300 Subject: [PATCH] Fix group join by chat id --- toxygen/tox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxygen/tox.py b/toxygen/tox.py index 2e88366..a783e5a 100644 --- a/toxygen/tox.py +++ b/toxygen/tox.py @@ -1568,7 +1568,7 @@ class Tox: """ 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, len(password) if password is not None else 0, byref(error))