From 7e2547cea7b5ff793a2dae449e118f1124806b69 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Thu, 5 Jan 2017 13:51:24 +1300 Subject: [PATCH] Notify when starting radio --- src/js/services/pusher/middleware.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/services/pusher/middleware.js b/src/js/services/pusher/middleware.js index 05c932cb..90d24e49 100755 --- a/src/js/services/pusher/middleware.js +++ b/src/js/services/pusher/middleware.js @@ -176,7 +176,7 @@ const PusherMiddleware = (function(){ type: 'notification', data: { title: 'Radio started', - body: ' started radio mode', + body: store.getState().pusher.username +' started radio mode', icon: '' } } @@ -213,7 +213,7 @@ const PusherMiddleware = (function(){ type: 'notification', data: { title: 'Radio stopped', - body: ' stopped radio mode', + body: store.getState().pusher.username +' stopped radio mode', icon: '' } }