[Gossip-dev] GossipChatroomContact must die ?

Xavier Claessens xclaesse at gmail.com
Thu Dec 14 15:12:50 CET 2006


Hello,

With telepathy a contact can be in the roster and in a chatroom at the
same time, it doesn't make any difference for avatar/presence/alias/etc.
In libgossip we make the difference between GossipContact and
GossipChatroomContact because there are 2 more properties: affiliation
and role.

I discussed that with Martyn we see only 2 solutions:

1) We move affiliation/role properties to GossipContact and remove
GossipChatrooContact class.

2) Store a contact list into GossipChatroom to map for each contact a
small struct containing his affiliation/role in this chatroom. This have
the advantage that the same GossipContact object can be added to more
than one chatroom with different role/affiliation.

Maybe someone have others idea ? If there is no other solution, what's
the better, 1. or 2. ?

Xavier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20061214/5443fb46/attachment.pgp


More information about the Gossip-dev mailing list