diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 06ad0ba06..034c58336 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -504,6 +504,9 @@ class GroupchatWindow(chat.Chat): self.subject_tooltip[room_jid].set_tip(event_box, subject) def get_specific_unread(self, room_jid): + # returns the number of the number of unread msgs + # for room_jid & number of unread private msgs with each contact + # that we have nb = 0 for nick in self.get_nick_list(room_jid): fjid = room_jid + '/' + nick diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index c3b27c8ca..52233a56f 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -271,7 +271,9 @@ class TabbedChatWindow(chat.Chat): self.paint_banner(jid) def get_specific_unread(self, jid): - # return the number of unread for contacts in the room when gc, 0 in tc + # return the number of unread (private) msgs with contacts in the room + # when gc, and that is 0 in tc + # FIXME: maybe refactor so this func is not called at all if TC? return 0 def show_avatar(self, jid, resource):