Clear riece-unread-channels case insensitively.
2005-02-24 Daiki Ueno <ueno@unixuser.org>
+ * riece-unread.el (riece-unread-after-switch-to-channel-function):
+ Clear riece-unread-channels case insensitively.
+
* riece-300.el (riece-handle-353-message): Use
riece-identity-assoc to pick an entry from
riece-353-message-alist.
(defun riece-unread-after-switch-to-channel-function (last)
(if riece-unread-enabled
(setq riece-unread-channels
- (delete riece-current-channel
- riece-unread-channels))))
+ (delq (car (riece-identity-member riece-current-channel
+ riece-unread-channels))
+ riece-unread-channels))))
(defun riece-unread-format-identity-for-channel-list-buffer (index identity)
(if (and riece-unread-enabled