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

pull/592/head
Morgan Pretty 3 years ago
parent 38bb6e79e2
commit 6b1fc0f552

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

Loading…
Cancel
Save