From 3d05127fad756bdc23938e0090ad443999b559a9 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 5 Mar 2016 22:39:59 +0200 Subject: [PATCH] Fix #147: Correctly get channel name in notifications --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index bb256006..0dccfa22 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -694,7 +694,7 @@ $(function() { } else { title = msg.from; if (!isQuery) { - title += " (" + button.text().trim() + ")"; + title += " (" + button.data("title").trim() + ")"; } title += " says:"; body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/, "").trim();