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
9a6b3c7b
Commit
9a6b3c7b
authored
Mar 10, 2014
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't play the hangup tone for sessions without audio and/or video
parent
710e68b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sessions.py
blink/sessions.py
+1
-1
No files found.
blink/sessions.py
View file @
9a6b3c7b
...
...
@@ -4171,7 +4171,7 @@ class SessionManager(object):
if
new_state
in
(
'connecting/ringing'
,
'connecting/early_media'
,
'connected/*'
):
self
.
update_ringtone
()
elif
new_state
==
'ending'
:
notification
.
sender
.
_play_hangup_tone
=
notification
.
data
.
old_state
in
(
'connecting/*'
,
'connected/*'
)
notification
.
sender
.
_play_hangup_tone
=
notification
.
data
.
old_state
in
(
'connecting/*'
,
'connected/*'
)
and
notification
.
sender
.
streams
.
types
.
intersection
({
'audio'
,
'video'
})
def
_NH_BlinkSessionDidChangeHoldState
(
self
,
notification
):
if
notification
.
data
.
remote_hold
and
not
notification
.
data
.
local_hold
:
...
...
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