Fixed an issue where I had 'whisperTo' and 'whisperMods' acting in a mutually exclusive way

This commit is contained in:
Morgan Pretty 2022-05-12 13:29:49 +10:00
parent 38bb6e79e2
commit 6b1fc0f552
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ public final class MessageSender : NSObject {
server,
room,
whisperTo,
(whisperTo == nil && whisperMods ? "mods" : nil)
(whisperMods ? "mods" : nil)
]
.compactMap { $0 }
.joined(separator: ".")