http://xmpp.org/extensions/xep-0191.html is a nice simple XEP for blocking contacts. It's wayyyy better than messing with privacy lists. Various servers support it (IIRC M-Link and Prosody and ejabberd) already.
I started hacking on this at the XMPP summit in February. I only got as far as retrieving the initial list. Work still needed:
• Register a handler for block pushes, and emit a GObject signal.
• Add _block_async() and _unblock_async().
I don't think these will be that hard either. Then just plumb it into Gabble and we can all rejoice and block our friends.
My branch above contains the following comment:
+ /* It sucks that we have to cast these JIDs. Maybe we should return some
+ * other data structure? */
+const gchar * const *wocky_block_list_get_blocked_jids (
+ WockyBlockList *self);
I suppose it should return a GList of WockyContact?
I'm looking to improve telepathy-gabble and found your unmerged patches for contact blocking.
Do you think it'd be worth reviewing them and trying to merge them after all these years?