callback for file transfer request created
This commit is contained in:
parent
102890e2fe
commit
44daae2b80
2 changed files with 58 additions and 1 deletions
|
|
@ -304,6 +304,7 @@ class Profile(Contact, Singleton):
|
|||
self._screen = screen
|
||||
self._messages = screen.messages
|
||||
self._tox = tox
|
||||
self._file_transfers = [] # list of file transfers
|
||||
settings = Settings.get_instance()
|
||||
self._show_online = settings['show_online_friends']
|
||||
screen.online_contacts.setChecked(self._show_online)
|
||||
|
|
@ -688,6 +689,16 @@ class Profile(Contact, Singleton):
|
|||
for friend in self._friends:
|
||||
friend.status = None
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------------
|
||||
# File transfers support
|
||||
# -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
def incoming_file_transfer(self, friend_number, file_number, size, file_name):
|
||||
pass
|
||||
|
||||
def incoming_avatar(self, friend_number, file_number):
|
||||
pass
|
||||
|
||||
|
||||
def tox_factory(data=None, settings=None):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue