mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Merge pull request #148 from xPaw/notif-chan-title
Fix #147: Correctly get channel name in notifications
This commit is contained in:
commit
6cee650283
1 changed files with 1 additions and 1 deletions
|
@ -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})?)?/g, "").trim();
|
||||
|
|
Loading…
Reference in a new issue