From 9b7ef7b0bf6f278158a45dcefc42fad4088e8f94 Mon Sep 17 00:00:00 2001 From: ueno Date: Tue, 27 May 2008 02:57:41 +0000 Subject: [PATCH] (riece-update-status-indicators): Don't update riece-user-indicator if riece-real-nickname is not fixed. --- lisp/ChangeLog | 3 +++ lisp/riece-display.el | 11 +++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8871e6d..20c79ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-05-27 Daiki Ueno + * riece-display.el (riece-update-status-indicators): Don't update + riece-user-indicator if riece-real-nickname is not fixed. + * COMPILE (riece-icons): Re-order filenames. * Makefile.am (EXTRA_DIST): Add new toolbar icons. diff --git a/lisp/riece-display.el b/lisp/riece-display.el index 96c32ff..3cd8f72 100644 --- a/lisp/riece-display.el +++ b/lisp/riece-display.el @@ -348,10 +348,13 @@ Local to the buffer in `riece-buffer-list'.") (riece-user-get-operator riece-real-nickname)) "O" "-") - riece-user-indicator - (riece-format-identity - (riece-make-identity riece-real-nickname riece-server-name) - t)))))) + ) + (if riece-real-nickname + (setq riece-user-indicator + (riece-format-identity + (riece-make-identity riece-real-nickname + riece-server-name) + t))))))) (walk-windows (lambda (window) (with-current-buffer (window-buffer window) -- 1.7.10.4