forked from Itiviti/simple-slack-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue Itiviti#251 - Fix Warning "event of type UNKNOWN not handled"
- Loading branch information
1 parent
d3fe7de
commit f5ff4cc
Showing
6 changed files
with
17 additions
and
387 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
sources/src/main/java/com/ullink/slack/simpleslackapi/events/Hello.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.ullink.slack.simpleslackapi.events; | ||
|
||
public class Hello implements SlackEvent { | ||
@Override | ||
public SlackEventType getEventType() { | ||
return SlackEventType.HELLO; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,6 @@ public enum SlackEventType { | |
PIN_REMOVED, | ||
USER_TYPING, | ||
UNKNOWN, | ||
SLACK_DISCONNECTED; | ||
SLACK_DISCONNECTED, | ||
HELLO | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters