Merge pull request #769 from OfficialR3ido101/fix/remove_floofchat_markdown

Removing markdown from floof chat
This commit is contained in:
ksuprynowicz 2023-12-12 17:55:55 +01:00 committed by GitHub
commit 0729d6e601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -103,7 +103,7 @@
}
for (var i = 0; i < messageParts.length; i++) {
messageFormatted.push(replaceFormatting(messageParts[i]));
messageFormatted.push(messageParts[i]);
}
for (var i = 0; i < messageFormatted.length; i++) {

View file

@ -127,7 +127,7 @@ function connectWebSocket(timeout) {
if (!muted["Grid"]) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: "(G) " + cmd.displayName,
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}
@ -462,7 +462,7 @@ function messageReceived(channel, message, sender) {
if (!muted["Local"]) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: "(L) " + cmd.displayName,
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}
@ -477,7 +477,7 @@ function messageReceived(channel, message, sender) {
if (!muted["Domain"]) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: "(D) " + cmd.displayName,
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}
@ -491,7 +491,7 @@ function messageReceived(channel, message, sender) {
if (!muted["Grid"]) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: "(G) " + cmd.displayName,
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}
@ -504,7 +504,7 @@ function messageReceived(channel, message, sender) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: cmd.displayName,
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}
@ -528,7 +528,7 @@ function messageReceived(channel, message, sender) {
Messages.sendLocalMessage(FLOOF_NOTIFICATION_CHANNEL, JSON.stringify({
sender: "(" + cmd.category + ")",
text: replaceFormatting(cmd.message),
text: cmd.message,
colour: {text: cmd.colour}
}));
}