Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
8061171b
Commit
8061171b
authored
Aug 23, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the sound files to make their role clearer. updates #62
parent
73528f4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
converse.js
converse.js
+7
-7
sounds/msg_received.mp3
sounds/msg_received.mp3
+0
-0
sounds/msg_received.ogg
sounds/msg_received.ogg
+0
-0
No files found.
converse.js
View file @
8061171b
...
...
@@ -159,7 +159,7 @@
this
.
allow_otr
=
true
;
this
.
animate
=
true
;
this
.
auto_list_rooms
=
false
;
this
.
auto_reconnect
=
tru
e
;
this
.
auto_reconnect
=
fals
e
;
this
.
auto_subscribe
=
false
;
this
.
bosh_service_url
=
undefined
;
// The BOSH connection manager URL.
this
.
cache_otr_key
=
false
;
...
...
@@ -2456,14 +2456,14 @@
},
playNotification
:
function
()
{
var
ping
;
var
audio
;
if
(
converse
.
play_sounds
&&
typeof
Audio
!==
"
undefined
"
){
ping
=
new
Audio
(
"
sounds/ping
.ogg
"
);
if
(
ping
.
canPlayType
(
'
audio/ogg
'
))
{
ping
.
play
();
audio
=
new
Audio
(
"
sounds/msg_received
.ogg
"
);
if
(
audio
.
canPlayType
(
'
/
audio/ogg
'
))
{
audio
.
play
();
}
else
{
ping
=
new
Audio
(
"
sounds/ping
.mp3
"
);
ping
.
play
();
audio
=
new
Audio
(
"
/sounds/msg_received
.mp3
"
);
audio
.
play
();
}
}
},
...
...
sounds/
ping
.mp3
→
sounds/
msg_received
.mp3
View file @
8061171b
File moved
sounds/
ping
.ogg
→
sounds/
msg_received
.ogg
View file @
8061171b
File moved
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