roles support - callbacks, peer screen

This commit is contained in:
ingvar1995 2018-07-23 00:35:52 +03:00
parent 5e1f060fac
commit 20f36e06ad
7 changed files with 139 additions and 33 deletions

View file

@ -28,6 +28,9 @@ class GroupChat(contact.Contact, ToxSave):
# Peers methods
# -----------------------------------------------------------------------------------------------------------------
def get_self_peer(self):
return self._peers[0]
def get_self_name(self):
return self._peers[0].name