Project

General

Profile

Bug #272

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

Added by Anonymous about 7 years ago. Updated over 6 years ago.

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

0%

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.

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

History

#1 Updated by Nate Case almost 7 years ago

I'm seeing the same behavior here. Using an OpenFire server.

#2 Updated by Frédéric Barthéléry almost 7 years ago

  • Target version set to 0.1.5

#3 Updated by Frédéric Barthéléry over 6 years ago

  • Target version changed from 0.1.5 to 0.2

Also available in: Atom PDF