file transfers fixes - part 3
This commit is contained in:
parent
c0a143c817
commit
a96f6d2928
12 changed files with 79 additions and 74 deletions
|
|
@ -24,6 +24,8 @@ class FileTransfersMessagesService:
|
|||
|
||||
friend.append_message(tm)
|
||||
|
||||
return tm
|
||||
|
||||
def add_outgoing_transfer_message(self, friend, size, file_name, file_number):
|
||||
author = MessageAuthor(self._profile.name, MESSAGE_AUTHOR['ME'])
|
||||
status = FILE_TRANSFER_STATE['OUTGOING_NOT_STARTED']
|
||||
|
|
@ -35,6 +37,8 @@ class FileTransfersMessagesService:
|
|||
|
||||
friend.append_message(tm)
|
||||
|
||||
return tm
|
||||
|
||||
def add_inline_message(self, transfer, index):
|
||||
if self._is_active(transfer.friend_number):
|
||||
count = self._messages.count()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue