identity)
(if (riece-identity-equal identity riece-current-channel)
(let ((string (riece-format-identity identity))
- (start 0)
- extent)
+ (start 0))
;; Escape % -> %%.
(while (string-match "%" string start)
(setq start (1+ (match-end 0))
(if (and (not (ring-empty-p riece-channel-history))
(riece-identity-equal identity (ring-ref riece-channel-history 0)))
(let ((string (riece-format-identity identity))
- (start 0)
- extent)
+ (start 0))
;; Escape % -> %%.
(while (string-match "%" string start)
(setq start (1+ (match-end 0))
(cdr (car users)))
user-identity-list)
users (cdr users)))
- (riece-emit-signal 'user-list-changed
- (riece-make-identity channel-name riece-server-name))))
+ (riece-emit-signal 'user-list-changed channel-identity)))
(provide 'riece-naming)
(defun riece-unread-format-identity-for-channel-list-indicator (index identity)
(if (riece-identity-member identity riece-unread-channels)
(let ((string (riece-format-identity identity))
- (start 0)
- extent)
+ (start 0))
;; Escape % -> %%.
(while (string-match "%" string start)
(setq start (1+ (match-end 0))