Skip to content

Commit

Permalink
+ fix #89
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlimiter committed May 20, 2023
1 parent b49013c commit b064fc2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ public void onMessage(GroupMessageEvent event) {
}

private static void GroupNoticeHandler(EventBus dispatchers) {
dispatchers.addListener(new SimpleEventListener<GroupDecreaseNoticeEvent>() {
dispatchers.addListener(new SimpleEventListener<GroupIncreaseNoticeEvent>() {
@Override
public void onMessage(GroupDecreaseNoticeEvent event) {
public void onMessage(GroupIncreaseNoticeEvent event) {
if (ConfigHandler.cached().getCommon().getGroupIdList().contains(event.getGroupId())
&& ConfigHandler.cached().getStatus().isRECEIVE_ENABLED()
&& ConfigHandler.cached().getStatus().isS_QQ_WELCOME_ENABLE()) {
Expand All @@ -92,9 +92,9 @@ public void onMessage(GroupDecreaseNoticeEvent event) {
}
});

dispatchers.addListener(new SimpleEventListener<GroupIncreaseNoticeEvent>() {
dispatchers.addListener(new SimpleEventListener<GroupDecreaseNoticeEvent>() {
@Override
public void onMessage(GroupIncreaseNoticeEvent event) {
public void onMessage(GroupDecreaseNoticeEvent event) {
if (ConfigHandler.cached().getCommon().getGroupIdList().contains(event.getGroupId())
&& ConfigHandler.cached().getStatus().isRECEIVE_ENABLED()
&& ConfigHandler.cached().getStatus().isS_QQ_LEAVE_ENABLE()) {
Expand Down

0 comments on commit b064fc2

Please sign in to comment.