From 642185f8c5db94d4a315c0dcd1d62da5f71975a7 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jul 2024 22:12:56 +0100 Subject: [PATCH] fix welcomer serialization --- .../cc/fascinated/bat/features/welcomer/WelcomerProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java b/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java index cf08dfb..b3555f7 100644 --- a/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java +++ b/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java @@ -133,7 +133,7 @@ public class WelcomerProfile extends Serializable { ); } if (channel != null) { - document.put("channelId", channel.getIdLong()); + document.put("channelId", channel.getId()); } return document; }