Make sure Emacs server is running! Now use this bit of Lisp:
(defvar my/erc-aggressive-status-clear t
"Setting this to t means that when you make a channel ``visible''
by unminimizing the Emacs frame or switching to its virtual
desktop, said channel will be removed from the status string. (To
be precise, we call `org-modified-channels-update' from the
polling function `my/erc-status', so there will be a delay
according to your polling interval.) Otherwise you'd need to