diff --git a/conn.go b/conn.go index 50e017b..6d9f75c 100644 --- a/conn.go +++ b/conn.go @@ -61,7 +61,7 @@ func (c *Channel) IsPresenceOrPrivate() bool { // Check if the type of the channel is public func (c *Channel) IsPublic() bool { - return !c.IsPresence() && !c.IsPrivate() + return !c.IsPresenceOrPrivate() } // Check if the type of the channel is presence