Project

General

Profile

Bug #272

Opened chats dialog shows every online contact in roster and in random order

Added by Anonymous over 14 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/14/2010
Due date:
% Done:

0%

Estimated time:
Affected version:
0.1.x
Locale:
Close

Description

I just started using Beem on Friday, but quickly ran into an issue with the Opened chats dialog. I have noticed that it shows every online contact from my roster, whether or not I have sent or received a chat from them. After adding some debug code I was able to determine that the only messages received from my contacts were status changes. The contacts are also listed in random order, which doesn't seem ideal.

I have attached a patch which adds message count tracking for Normal, Chat, Group Chat and Error message types to the ChatAdapter class. With those individual counts I was able to update getOpenedChatList in the BeemChatManager class to populate the opened chats dialog with contacts that have sent/received Chat or Group Chat messages.

The patch also adds case-insensitive sorting to the opened chats list.


Files

open_chats.patch (4.66 KB) open_chats.patch Suggested patch Anonymous, 06/14/2010 06:47 PM

Also available in: Atom PDF