diff --git a/gradle.properties b/gradle.properties index 972a331..97a0d67 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ ## Core -VERSION = 0.7.1.2 +VERSION = 0.7.1.3 CODENAME = fuzhou diff --git a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java index 26be073..2f7fdbe 100644 --- a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java +++ b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java @@ -4,7 +4,7 @@ package cc.sukazyo.cono.morny; * the final field that will be updated by gradle automatically. */ public class GradleProjectConfigures { - public static final String VERSION = "0.7.1.2"; + public static final String VERSION = "0.7.1.3"; public static final String CODENAME = "fuzhou"; - public static final long COMPILE_TIMESTAMP = 1654487392325L; + public static final long COMPILE_TIMESTAMP = 1654590942119L; } diff --git a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnEventHackHandle.java b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnEventHackHandle.java index a85a980..7189857 100644 --- a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnEventHackHandle.java +++ b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnEventHackHandle.java @@ -84,12 +84,12 @@ public class OnEventHackHandle extends EventListener { @Override public boolean onChannelPost (@Nonnull Update update) { - return onEventHacked(update, update.channelPost().chat().id(), update.channelPost().from().id()); + return onEventHacked(update, update.channelPost().chat().id(), update.channelPost().chat().id()); } @Override public boolean onEditedChannelPost (@Nonnull Update update) { - return onEventHacked(update, update.editedChannelPost().chat().id(), update.editedChannelPost().from().id()); + return onEventHacked(update, update.editedChannelPost().chat().id(), update.editedChannelPost().chat().id()); } @Override