Skip to content

Commit

Permalink
Stop notices going to special buffers when noticeActiveBuffer is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsOnlyBinary committed Sep 1, 2023
1 parent 6bd3b0b commit 78725c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/IrcClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function clientMiddleware(state, network) {
// If we don't have a buffer for this notice sender, either show it in our active
// buffer or the server buffer
if (!existingBuffer) {
if (noticeActiveBuffer && hasActiveBuffer) {
if (noticeActiveBuffer && hasActiveBuffer && !activeBuffer.isSpecial()) {
bufferName = activeBuffer.name;
} else {
bufferName = '*';
Expand Down

0 comments on commit 78725c1

Please sign in to comment.