Commit 891268ed authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Forgot to check in file last time, this is also for nicer kom-list-sessions...

Forgot to check in file last time, this is also for nicer kom-list-sessions for sessions with no unread texts.
parent 8bbeb96e
......@@ -799,12 +799,15 @@ send. If DONTSHOW is non-nil, don't display the sent message."
(nth 5 s2))))))
(lyskom-traverse session session-list
(lyskom-format-insert 'session-list-unreads-in-confs
(nth 0 session)
(nth 3 session)
(nth 2 session)
(nth 4 session)
))))
(if (zerop (nth 2 session))
(lyskom-format-insert 'session-list-no-unread-in
(nth 0 session))
(lyskom-format-insert 'session-list-unreads-in-confs
(nth 0 session)
(nth 3 session)
(nth 2 session)
(nth 4 session))))))
;;; ================================================================
;;; Lista Nyheter - List News
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment