Bug 36804 - Support XEP-0191 Simple Contact Blocking
Summary: Support XEP-0191 Simple Contact Blocking
Status: NEW
Alias: None
Product: Wocky
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://cgit.collabora.co.uk/git/user/...
Depends on:
Blocks: 96921
  Show dependency treegraph
Reported: 2011-05-03 07:59 UTC by Will Thompson
Modified: 2016-07-13 20:27 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Description Will Thompson 2011-05-03 07:59:25 UTC

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.
Comment 1 Will Thompson 2012-04-30 09:53:47 UTC
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?
Comment 2 diane 2016-01-12 19:32:06 UTC

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?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.