aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-02 01:28:03 +0200
committerGitHub <noreply@github.com>2024-04-02 10:28:03 +1100
commita126f6c554260aa03f1ad875b65c7d6bf94cd72e (patch)
treebfaba923a450b6db78f1bd81f4738f5931c52f86 /src/main/java/at
parentcfdefef783d29851e94b31544c97cec2713d2f8d (diff)
downloadskyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.tar.gz
skyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.tar.bz2
skyhanni-a126f6c554260aa03f1ad875b65c7d6bf94cd72e.zip
fix friend detection from chat (#1336)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
index 19d337249..224ce9979 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
@@ -33,9 +33,13 @@ object FriendAPI {
"addbest",
".*\n(?<name>.*)§a is now a best friend!§r§9§m\n.*"
)
+ /**
+ * REGEX-TEST:
+ * §eClick here to view §bAaronL_Jackson§e's profile
+ */
private val rawNamePattern by patternGroup.pattern(
"rawname",
- "\\n§eClick to view §.(?<name>.*)§e's profile"
+ "\\n§eClick here to view §.(?<name>.*)§e's profile"
)
private val readFriendListPattern by patternGroup.pattern(
"readfriends",