summaryrefslogtreecommitdiff
path: root/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'matrix.js')
-rw-r--r--matrix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix.js b/matrix.js
index fe12cf4..a2fb4c5 100644
--- a/matrix.js
+++ b/matrix.js
@@ -51,7 +51,7 @@ function startMatrix() {
message = event.event.content.formatted_body.split("</mx-reply>")[1];
}
- if (message.startsWith(".") && !message.startsWith("..") && message.trim() !== "." && message.trim() !== ".c.") {
+ if (message.startsWith(".") && !message.startsWith("..") && message.trim() !== "." && message.trim() !== ".c." && !message.trim().startsWith(".c.") && !message.trim().startsWith(".❤️")) {
let command;
try {