Merge pull request #805 from thelounge/xpaw/notif-says
Only append "says" to notifications if its a message
This commit is contained in:
commit
3c8179fda1
@ -1133,7 +1133,9 @@ $(function() {
|
|||||||
if (!button.hasClass("query")) {
|
if (!button.hasClass("query")) {
|
||||||
title += " (" + button.data("title").trim() + ")";
|
title += " (" + button.data("title").trim() + ")";
|
||||||
}
|
}
|
||||||
title += " says:";
|
if (msg.type === "message") {
|
||||||
|
title += " says:";
|
||||||
|
}
|
||||||
body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/g, "").trim();
|
body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/g, "").trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user