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
171e257c
Commit
171e257c
authored
Nov 02, 2018
by
Christoph Scholz
Committed by
JC Brand
Nov 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make default paths in notifications relative
parent
609995c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGES.md
CHANGES.md
+1
-0
docs/source/configuration.rst
docs/source/configuration.rst
+2
-2
src/converse-notification.js
src/converse-notification.js
+2
-2
No files found.
CHANGES.md
View file @
171e257c
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
## 4.0.5 (Unreleased)
## 4.0.5 (Unreleased)
-
`FATAL: TypeError: Cannot read property 'extend' of undefined`
when using
`embedded`
view mode.
-
`FATAL: TypeError: Cannot read property 'extend' of undefined`
when using
`embedded`
view mode.
-
default paths in converse-notifications.js are now relative
## 4.0.4 (2018-10-29)
## 4.0.4 (2018-10-29)
...
...
docs/source/configuration.rst
View file @
171e257c
...
@@ -1008,7 +1008,7 @@ certain rooms.
...
@@ -1008,7 +1008,7 @@ certain rooms.
notification_icon
notification_icon
-----------------
-----------------
* Default: ``'
/logo/conversejs.pn
g'``
* Default: ``'
logo/conversejs-filled.sv
g'``
This option specifies which icon is shown in HTML5 notifications, as provided
This option specifies which icon is shown in HTML5 notifications, as provided
by the ``src/converse-notification.js`` plugin.
by the ``src/converse-notification.js`` plugin.
...
@@ -1291,7 +1291,7 @@ If set to ``true``, a button will be visible which can be clicked to send a mess
...
@@ -1291,7 +1291,7 @@ If set to ``true``, a button will be visible which can be clicked to send a mess
sounds_path
sounds_path
-----------
-----------
* Default: ``
/
sounds/``
* Default: ``sounds/``
This option only makes sense in conjunction with the `play_sounds`_ option and
This option only makes sense in conjunction with the `play_sounds`_ option and
specifies the URL of the sound files to be played (exluding the file names
specifies the URL of the sound files to be played (exluding the file names
...
...
src/converse-notification.js
View file @
171e257c
...
@@ -32,8 +32,8 @@ converse.plugins.add('converse-notification', {
...
@@ -32,8 +32,8 @@ converse.plugins.add('converse-notification', {
chatstate_notification_blacklist
:
[],
chatstate_notification_blacklist
:
[],
// ^ a list of JIDs to ignore concerning chat state notifications
// ^ a list of JIDs to ignore concerning chat state notifications
play_sounds
:
true
,
play_sounds
:
true
,
sounds_path
:
'
/
sounds/
'
,
sounds_path
:
'
sounds/
'
,
notification_icon
:
'
/
logo/conversejs-filled.svg
'
notification_icon
:
'
logo/conversejs-filled.svg
'
});
});
_converse
.
isOnlyChatStateNotification
=
(
msg
)
=>
_converse
.
isOnlyChatStateNotification
=
(
msg
)
=>
...
...
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