Bug 36804

Summary: Support XEP-0191 Simple Contact Blocking
Product: Wocky Reporter: Will Thompson <will>
Component: GeneralAssignee: Telepathy bugs list <telepathy-bugs>
Status: NEW --- QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: devurandom, diane, will
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://cgit.collabora.co.uk/git/user/wjt/wocky/log/?h=blocking
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 96921    

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

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? */

Regarding:

+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
Hi,

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?

Diane

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.