Skip to content

Commit

Permalink
fix is_direct context
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 9, 2019
1 parent 0b8b67c commit d566cc5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ else if (name.equals("self")) {
else if (name.equals("channel_name")) {
return new Element(((ChannelEvent) event).getChannel().getName());
}
else if (name.equals("is_private")) {
else if (name.equals("is_direct")) {
return new Element(((ChannelEvent) event).getChannel().isPrivate());
}
}
Expand Down

0 comments on commit d566cc5

Please sign in to comment.