2003-06-17 OHASHI Akira <bg66@koka-in.org>
+ * riece-unread.el (riece-unread-display-message-function): Check a
+ `selected-window'.
+
* riece-mini.el: New add-on.
* COMPILE (riece-modules): Add `riece-mini'.
* Makefile.am (EXTRA_DIST): Add `riece-mini.el'.
(defun riece-unread-display-message-function (message)
(unless (or (riece-message-own-p message)
- (equal (riece-message-target message) riece-current-channel))
+ (equal (riece-message-target message) riece-current-channel)
+ (eq (window-buffer (selected-window))
+ (get-buffer riece-command-buffer)))
(setq riece-unread-channels
(delete (riece-message-target message) riece-unread-channels))
(add-to-list 'riece-unread-channels