Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 197333

Summary: Display the amount of users in a chatroom
Product: [RT] ECF Reporter: Chris Aniszczyk <caniszczyk>
Component: ecf.uiAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: 1.1.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 197007    
Bug Blocks:    

Description Chris Aniszczyk CLA 2007-07-20 15:38:52 EDT
When you're using the UI IRC client... you can't easily find the number of users in a channel. IRC clients have varied ways of displaying this information. Some do it in the title bar, some do it in the status bar, some do it in some control representing the channel... in any event, we should do this somehow.
Comment 1 Scott Lewis CLA 2007-07-20 15:49:49 EDT
(In reply to comment #0)
> When you're using the UI IRC client... you can't easily find the number of
> users in a channel. IRC clients have varied ways of displaying this
> information. Some do it in the title bar, some do it in the status bar, some do
> it in some control representing the channel... in any event, we should do this
> somehow.
> 

We could add a method like this to IChatRoomContainer:

IUser [] getCurrentParticipants();

Another (perhaps better) design would be to have a new interface to represent a chat room member:

interface IChatRoomParticipant

IUser getUser();
IPresence getPresence();

And then have a method in IChatRoomContainer:

IChatRoomParticipant [] getCurrentParticipants();

Since this is API enhancement, I've set target milestone to 1.1.

Comment 2 Remy Suen CLA 2007-09-02 08:22:10 EDT
Feature added to CVS HEAD.
Comment 3 Remy Suen CLA 2007-09-02 08:22:50 EDT
Setting as FIXED.