make default paths in notifications relative
This commit is contained in:
parent
609995c767
commit
171e257c22
@ -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)
|
||||||
|
|
||||||
|
@ -1008,7 +1008,7 @@ certain rooms.
|
|||||||
notification_icon
|
notification_icon
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
* Default: ``'/logo/conversejs.png'``
|
* Default: ``'logo/conversejs-filled.svg'``
|
||||||
|
|
||||||
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
|
|||||||
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
|
||||||
|
@ -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) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user