From 831d346984e754ca7ef4f808640538207b0f232b Mon Sep 17 00:00:00 2001 From: bg66 Date: Tue, 9 Dec 2003 02:48:12 +0000 Subject: [PATCH] * riece-mini.el (riece-mini-display-message-function): Don't set riece-mini-last-channel when message is not a privmsg. --- lisp/ChangeLog | 5 +++++ lisp/riece-mini.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c3ec83..b604b86 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-12-09 OHASHI Akira + + * 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 * riece-server.el (riece-with-server-buffer): Store 'edebug-form-spec diff --git a/lisp/riece-mini.el b/lisp/riece-mini.el index e57393d..55317b4 100644 --- a/lisp/riece-mini.el +++ b/lisp/riece-mini.el @@ -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 -- 1.7.10.4