* riece-unread.el (riece-unread-display-message-function): Don't check
authorbg66 <bg66>
Tue, 24 Jun 2003 00:31:08 +0000 (00:31 +0000)
committerbg66 <bg66>
Tue, 24 Jun 2003 00:31:08 +0000 (00:31 +0000)
`selected-window'. It doesn't work as expected.

lisp/ChangeLog
lisp/riece-unread.el

index 44ce143..8178426 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-24  OHASHI Akira  <bg66@koka-in.org>
+
+       * riece-unread.el (riece-unread-display-message-function): Don't check
+       `selected-window'. It doesn't work as expected.
+
 2003-06-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
 
        * riece-log.el, riece-mini.el, riece-unread.el, riece-url.el:
index 2ca880e..6616872 100644 (file)
@@ -37,9 +37,7 @@
 
 (defun riece-unread-display-message-function (message)
   (unless (or (riece-message-own-p message)
-             (and (equal (riece-message-target message) riece-current-channel)
-                  (eq (window-buffer (selected-window))
-                      (get-buffer riece-command-buffer))))
+             (equal (riece-message-target message) riece-current-channel))
     (setq riece-unread-channels
          (delete (riece-message-target message) riece-unread-channels))
     (add-to-list 'riece-unread-channels