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
51b45c0a
Commit
51b45c0a
authored
Feb 18, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed spelling and inconsistency in error state for cancelled calls
parent
f6b60f6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sessions.py
blink/sessions.py
+2
-2
No files found.
blink/sessions.py
View file @
51b45c0a
...
@@ -599,7 +599,7 @@ class BlinkSession(QObject):
...
@@ -599,7 +599,7 @@ class BlinkSession(QObject):
notification_center
=
NotificationCenter
()
notification_center
=
NotificationCenter
()
notification_center
.
post_notification
(
'BlinkSessionWillEnd'
,
sender
=
self
)
notification_center
.
post_notification
(
'BlinkSessionWillEnd'
,
sender
=
self
)
if
self
.
sip_session
is
None
:
if
self
.
sip_session
is
None
:
self
.
_terminate
(
reason
=
'Call cancel
ed'
)
self
.
_terminate
(
reason
=
'Call cancel
led'
,
error
=
True
)
else
:
else
:
self
.
sip_session
.
end
()
self
.
sip_session
.
end
()
...
@@ -733,7 +733,7 @@ class BlinkSession(QObject):
...
@@ -733,7 +733,7 @@ class BlinkSession(QObject):
def
_NH_SIPSessionDidFail
(
self
,
notification
):
def
_NH_SIPSessionDidFail
(
self
,
notification
):
if
notification
.
data
.
failure_reason
==
'user request'
:
if
notification
.
data
.
failure_reason
==
'user request'
:
if
notification
.
data
.
code
==
487
:
if
notification
.
data
.
code
==
487
:
reason
=
'Call canceled'
reason
=
'Call cancel
l
ed'
else
:
else
:
reason
=
notification
.
data
.
reason
reason
=
notification
.
data
.
reason
else
:
else
:
...
...
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