minimal working ngc version - sending messages, invites, char creation
This commit is contained in:
parent
ef4a1b18fd
commit
a935d602f8
6 changed files with 43 additions and 17 deletions
|
|
@ -39,7 +39,7 @@ class GroupChat(contact.Contact):
|
|||
self._tox.group_peer_get_public_key(self._number, peer_id))
|
||||
self._peers.append(peer)
|
||||
|
||||
def get_peer(self, peer_id):
|
||||
def get_peer_by_id(self, peer_id):
|
||||
peers = list(filter(lambda p: p.id == peer_id, self._peers))
|
||||
|
||||
return peers[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue