aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_hq.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-25 10:53:37 +0000
committerMario <mario@mariovavti.com>2021-06-25 10:53:37 +0000
commit4f328740dc5f2492b33ee2953e8bad2b84b98243 (patch)
tree7371e71618477164895830f702f4a6f504d8fc4a /view/js/mod_hq.js
parent2f1c2f42b1e27e5ae7fc7f82f6118517d087fdba (diff)
downloadvolse-hubzilla-4f328740dc5f2492b33ee2953e8bad2b84b98243.tar.gz
volse-hubzilla-4f328740dc5f2492b33ee2953e8bad2b84b98243.tar.bz2
volse-hubzilla-4f328740dc5f2492b33ee2953e8bad2b84b98243.zip
more work on notifications
Diffstat (limited to 'view/js/mod_hq.js')
-rw-r--r--view/js/mod_hq.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js
index 87d9f1ef3..48fbf1f9b 100644
--- a/view/js/mod_hq.js
+++ b/view/js/mod_hq.js
@@ -13,7 +13,11 @@ $(document).ready(function() {
});
$(document).on('hz:handleNetworkNotificationsItems', function(e, obj) {
- push_notification($('<p>' + obj.message + '</p>').text(), obj.name);
+ push_notification(
+ obj.name,
+ $('<p>' + obj.message + '</p>').text(),
+ baseurl + '/hq/' + obj.b64mid
+ );
});
});