2003-08-25 Daiki Ueno <ueno@unixuser.org>
+ * riece-display.el (riece-join-channel): Parse non-nil elements in
+ riece-default-channel-binding.
+
+2003-08-25 Daiki Ueno <ueno@unixuser.org>
+
* riece-identity.el (riece-format-identity): Add 'riece-identity
property to the resulting string.
(defun riece-join-channel (identity)
(unless (riece-identity-member identity riece-current-channels)
(setq riece-current-channels
- (riece-identity-assign-binding identity riece-current-channels
- riece-default-channel-binding))
+ (riece-identity-assign-binding
+ identity riece-current-channels
+ (mapcar
+ (lambda (channel)
+ (if channel
+ (riece-parse-identity channel)))
+ riece-default-channel-binding)))
(riece-channel-buffer-create identity)
(with-current-buffer riece-channel-list-buffer
(setq riece-redisplay-buffer t))))