weechat / weechat

The extensible chat client.

Home Page:https://weechat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/amsg and /ame also send in parted channels

crazycatdevs opened this issue · comments

Describe the bug

/amsg and /ame also send in parted channels if the buffer is not closed

Steps to reproduce

  1. do a /part in a channel without /close its buffer
  2. do /amsg hello

Current behavior

If channel is +n, you got a No external channel messages response.
If channel allows external messages, the /amsg is well saw in the channel

Expected behavior

/amsg and /ame sent only in channels the user is

Suggested solutions

No response

Additional information

No response

WeeChat version

4.0.2

What OS are you using?

Debian 12

On which terminal are you running WeeChat?

No response

Which terminal multiplexer are you using?

Screen

Now the command /allchan (as well as aliases /amsg and /ame) is executed on all channels except parted channels.

A new paramter -all has been added to execute command on all channels.

And the parameter -parted is still there to execute command only on parted channels.