roles support - callbacks, peer screen
This commit is contained in:
parent
5e1f060fac
commit
20f36e06ad
7 changed files with 139 additions and 33 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue