mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Only append "says" to notifications if its a message
This commit is contained in:
parent
3d0e1fd9f0
commit
7933b2453d
1 changed files with 3 additions and 1 deletions
|
@ -1133,7 +1133,9 @@ $(function() {
|
|||
if (!button.hasClass("query")) {
|
||||
title += " (" + button.data("title").trim() + ")";
|
||||
}
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue