aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt
index 0cf4f5b57..b12802f3b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt
@@ -62,7 +62,8 @@ class ChatFilterGui(private val history: List<ChatManager.MessageFilteringResult
OSUtils.copyToClipboard(IChatComponent.Serializer.componentToJson(msg.message))
LorenzUtils.chat("Copied structured chat line to clipboard")
} else {
- OSUtils.copyToClipboard(msg.message.formattedText)
+ val message = LorenzUtils.stripVanillaMessage(msg.message.formattedText)
+ OSUtils.copyToClipboard(message)
LorenzUtils.chat("Copied chat line to clipboard")
}
}