* riece-mini.el (riece-mini-display-message-function): Don't set
authorbg66 <bg66>
Tue, 9 Dec 2003 02:48:12 +0000 (02:48 +0000)
committerbg66 <bg66>
Tue, 9 Dec 2003 02:48:12 +0000 (02:48 +0000)
riece-mini-last-channel when message is not a privmsg.

lisp/ChangeLog
lisp/riece-mini.el

index 2c3ec83..b604b86 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-09  OHASHI Akira  <bg66@koka-in.org>
+
+       * riece-mini.el (riece-mini-display-message-function): Don't set
+       riece-mini-last-channel when message is not a privmsg.
+
 2003-12-04  OHASHI Akira  <bg66@koka-in.org>
 
        * riece-server.el (riece-with-server-buffer): Store 'edebug-form-spec
index e57393d..55317b4 100644 (file)
@@ -64,7 +64,8 @@
           (funcall riece-message-make-close-bracket-function message))
          (global-name
           (funcall riece-message-make-global-name-function message)))
-      (setq riece-mini-last-channel (riece-message-target message))
+      (unless (riece-message-type message)
+       (setq riece-mini-last-channel (riece-message-target message)))
       (riece-mini-message-no-log
        "%s" (concat (format-time-string "%H:%M") " "
                    open-bracket global-name close-bracket