Skip to content

Commit

Permalink
Merge pull request #769 from OfficialR3ido101/fix/remove_floofchat_ma…
Browse files Browse the repository at this point in the history
…rkdown

Removing markdown from floof chat
  • Loading branch information
ksuprynowicz authored Dec 12, 2023
2 parents af1932e + d7226b7 commit 0729d6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/communityScripts/chat/FloofChat.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
12 changes: 6 additions & 6 deletions scripts/communityScripts/chat/FloofChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}));
}
Expand Down Expand Up @@ -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}
}));
}
Expand All @@ -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}
}));
}
Expand All @@ -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}
}));
}
Expand All @@ -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}
}));
}
Expand All @@ -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}
}));
}
Expand Down

0 comments on commit 0729d6e

Please sign in to comment.