Skip to content

Commit 45819c4

Browse files
committed
Fix incorrect condition introduced by a72f1c5
1 parent 079d212 commit 45819c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftPluginExample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TPI_SwiftPluginExample: NSObject, THOPluginProtocol
4343
let senderChannel = client.findChannel(messageParamaters[0])
4444

4545
/* Do not accept private messages. */
46-
if ((senderChannel?.isPrivateMessage) != nil) {
46+
if (senderChannel?.isPrivateMessage == false) {
4747
return
4848
}
4949

0 commit comments

Comments
 (0)