history improvements, ui for creation finished, some updates

This commit is contained in:
ingvar1995 2016-07-04 13:49:46 +03:00
parent 3aba7dffd2
commit 3ad7d20827
7 changed files with 60 additions and 14 deletions

View file

@ -1,11 +1,12 @@
import contact
class Groupchat(contact.Contact):
class GroupChat(contact.Contact):
def __init__(self, group_id, *args):
def __init__(self, group_id, tox, *args):
super().__init__(*args)
self._id = group_id
self._tox = tox
def load_avatar(self, default_path='group.png'):
super().load_avatar(default_path)