After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 379520 - Gossip Telepathy Avatars and Server-side groups support
Gossip Telepathy Avatars and Server-side groups support
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: Telepathy
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-26 17:48 UTC by Raphael Slinckx
Modified: 2006-11-27 20:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gossip-tp-avatars-groups (27.42 KB, patch)
2006-11-26 17:49 UTC, Raphael Slinckx
none Details | Review

Description Raphael Slinckx 2006-11-26 17:48:22 UTC
Attached is the patch.

What's missing is only the retreival from your own avatar when you connect ot the account so that the vcard dialog is in sync with what's on the server.
Comment 1 Raphael Slinckx 2006-11-26 17:49:02 UTC
Created attachment 77172 [details] [review]
gossip-tp-avatars-groups

Here is the patch. I can commit it once reviewed.
Comment 2 Xavier Claessens 2006-11-26 22:43:58 UTC
Thanks for this wonderful work !

I moved groups stuffs into his own module gossip-telepathy-groups.[ch]. I also did a code cleanup (indentation,etc).

TelepathyChannelGroupChangeReason seems to not be defined, I renamed it to TelepathyGroupsChangeReason to keep the TelepathyGroups prefix and to not have something too long. I guess that's what's missing:

typedef enum
{
	TELEPATHY_GROUPS_CHANGE_REASON_NONE
	TELEPATHY_GROUPS_CHANGE_REASON_OFFLINE
	TELEPATHY_GROUPS_CHANGE_REASON_KICKED
	TELEPATHY_GROUPS_CHANGE_REASON_BUSY
	TELEPATHY_GROUPS_CHANGE_REASON_INVITED
	TELEPATHY_GROUPS_CHANGE_REASON_BANNED
	TELEPATHY_GROUPS_CHANGE_REASON_ERROR
} TelepathyGroupsChangeReason;

The problem is it doesn't compiles with the actual libtelepathy, it needs an update I guess. So I didn't tested (not event compiled) your work yet, I'll test with development libtp as soon as I've time, but I think we should wait for a release before committing into TELEPATHY branch.

I'll attach my changes as soon as I'm sure it at least compiles :-)
Comment 3 Xavier Claessens 2006-11-27 20:50:51 UTC
Committed !

I moved groups stuff to his own module, made all avatar calls async and cleaned the code a bit. It seems to work perfectly...

Avatar support is being reviewed for inclusion into gabble and groups support still needs more work, so atm nothing works out-of-the-box... but gossip is ready for when gabble/butterfly/etc will get support for that.

I hugs Raphael for his wonderful works !