Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
50d0b99c
Commit
50d0b99c
authored
Jan 22, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed file transfer status if not answer is received
parent
9a5b3ef0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sessions.py
blink/sessions.py
+9
-0
No files found.
blink/sessions.py
View file @
50d0b99c
...
...
@@ -3774,6 +3774,9 @@ class BlinkFileTransfer(object):
def
_NH_SIPSessionDidStart
(
self
,
notification
):
self
.
state
=
'connected'
def
_NH_MediaStreamDidInitialize
(
self
,
notification
):
notification
.
center
.
post_notification
(
'BlinkFileTransferDidInitialize'
,
sender
=
self
)
def
_NH_MediaStreamDidNotInitialize
(
self
,
notification
):
self
.
_terminate
(
failure_reason
=
notification
.
data
.
reason
)
...
...
@@ -4085,6 +4088,12 @@ class FileTransferItem(object):
self
.
widget
.
update_content
(
self
)
notification
.
center
.
post_notification
(
'FileTransferItemDidChange'
,
sender
=
self
)
def
_NH_BlinkFileTransferDidInitialize
(
self
,
notification
):
self
.
progress
=
None
self
.
status
=
u'Connecting...'
self
.
widget
.
update_content
(
self
)
notification
.
center
.
post_notification
(
'FileTransferItemDidChange'
,
sender
=
self
)
def
_NH_BlinkFileTransferHashProgress
(
self
,
notification
):
progress
=
notification
.
data
.
progress
if
self
.
progress
is
None
or
progress
>
self
.
progress
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment