(elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
(elmo-network-authenticate-session): Hide auth-info from the log.
+ * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
+ user name if it is equal to elmo-nntp-default-user.
+
2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
(defun elmo-nntp-folder-list-subfolders (folder one-level)
(let ((session (elmo-nntp-get-session folder))
(case-fold-search nil)
- response ret-val top-ng append-serv use-list-active start)
+ response ret-val top-ng username append-serv use-list-active start)
(with-temp-buffer
(set-buffer-multibyte nil)
(if (and (elmo-nntp-folder-group-internal folder)
(when (> len elmo-display-progress-threshold)
(elmo-display-progress
'elmo-nntp-list-folders "Parsing active..." 100))))
+
+ (setq username (elmo-net-folder-user-internal folder))
+ (when (and username
+ (string= username elmo-nntp-default-user))
+ (setq username nil))
+
(unless (string= (elmo-net-folder-server-internal folder)
elmo-nntp-default-server)
(setq append-serv (concat "@" (elmo-net-folder-server-internal
(mapcar '(lambda (fld)
(if (consp fld)
(list (concat "-" (elmo-nntp-decode-group-string (car fld))
- (and (elmo-net-folder-user-internal folder)
+ (and username
(concat
":"
- (elmo-net-folder-user-internal folder)))
+ username))
(and append-serv
(concat append-serv))))
(concat "-" (elmo-nntp-decode-group-string fld)
- (and (elmo-net-folder-user-internal folder)
- (concat ":" (elmo-net-folder-user-internal
- folder)))
+ (and username
+ (concat ":" username))
(and append-serv
(concat append-serv)))))
ret-val)))