aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-14 09:27:39 +0000
committerMario <mario@mariovavti.com>2020-05-14 09:27:39 +0000
commit4270e17bc4ffedd35ddc5e00f7037162e9b95725 (patch)
treed53d7ed6f8d0ef2f13efb742f5ba19c5dc1ad4a1 /view/js
parent1329662edcfc9650982a770247fb52d3ab9c55a3 (diff)
downloadvolse-hubzilla-4270e17bc4ffedd35ddc5e00f7037162e9b95725.tar.gz
volse-hubzilla-4270e17bc4ffedd35ddc5e00f7037162e9b95725.tar.bz2
volse-hubzilla-4270e17bc4ffedd35ddc5e00f7037162e9b95725.zip
implement notifications for direct messages
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 49c0bed97..c172b9365 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1744,7 +1744,7 @@ function sse_bs_notifications(e, replace, followup) {
function sse_handleNotifications(obj, replace, followup) {
- var primary_notifications = ['home', 'intros', 'register', 'mail', 'notify', 'files'];
+ var primary_notifications = ['dm', 'home', 'intros', 'register', 'mail', 'notify', 'files'];
var secondary_notifications = ['network', 'forums', 'all_events', 'pubs'];
var all_notifications = primary_notifications.concat(secondary_notifications);
@@ -1855,7 +1855,7 @@ function sse_updateNotifications(type, mid) {
}
function sse_setNotificationsStatus() {
- var primary_notifications = ['home', 'intros', 'register', 'mail', 'notify', 'files'];
+ var primary_notifications = ['dm', 'home', 'intros', 'register', 'mail', 'notify', 'files'];
var secondary_notifications = ['network', 'forums', 'all_events', 'pubs'];
var all_notifications = primary_notifications.concat(secondary_notifications);