process group creation fail
This commit is contained in:
parent
fa3529f5f2
commit
1c80b4fd7d
@ -22,6 +22,7 @@ class GroupsService(tox_save.ToxSave):
|
|||||||
|
|
||||||
def create_new_gc(self, name, privacy_state):
|
def create_new_gc(self, name, privacy_state):
|
||||||
group_number = self._tox.group_new(privacy_state, name.encode('utf-8'))
|
group_number = self._tox.group_new(privacy_state, name.encode('utf-8'))
|
||||||
|
if group_number != -1:
|
||||||
self._add_new_group_by_number(group_number)
|
self._add_new_group_by_number(group_number)
|
||||||
|
|
||||||
def join_gc_by_id(self, chat_id, password):
|
def join_gc_by_id(self, chat_id, password):
|
||||||
|
Loading…
Reference in New Issue
Block a user