Bug 24614 - Support closing multi-user chat channels without leaving the room
Summary: Support closing multi-user chat channels without leaving the room
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 04:08 UTC by Will Thompson
Modified: 2019-12-03 20:19 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2009-10-19 04:08:30 UTC
There are two main use cases for Close() on a MUC not actually leaving the room:

• If Empathy crashes, MC calls Close() on all channels it was handling. I'd rather not leave all the channels on my IRC proxy when that happens. (This is Idle bug #24273.)
• Marco is in an XMPP MUC with three of his friends, who sporadically discuss Aqua. He doesn't want to have the conversation window open constantly, cluttering his desktop, but wants to be in the room in case someone says something.

If we make Close() not actually leave the room (depending on RemoveMembers() for that) it needs to be opt-in until Telepathy 1.0. Rob suggests adding a property for this behaviour which could be requested, or set by the handler.
Comment 1 Mikhail Zabaluev 2009-12-29 09:27:03 UTC
Another case where it is useful, and already implemented, are Skype chats.
How about an interface, providing a (requestable) property like "LeaveWhenClosed" and method Leave? In Maemo, we have the latter for Skype-specific chat add-ons interface.
Comment 2 Will Thompson 2010-11-23 08:58:22 UTC
> How about an interface, providing a (requestable) property like
> "LeaveWhenClosed"

That means the channel requester has to know whether the handler supports this new method. I wonder whether we could use <http://telepathy.freedesktop.org/spec/Client_Handler.html#org.freedesktop.Telepathy.Client.Handler.Capabilities> for this? Technically it's imperfect, because if you have two handlers installed—one with and one without this feature—the CM can't tell them apart. But it might be good enough.
Comment 3 Jeremy Nickurak 2012-09-15 15:44:05 UTC
Similar bug in Empathy: https://bugzilla.gnome.org/show_bug.cgi?id=599184

And downstream Ubuntu: https://bugs.launchpad.net/libtelepathy/+bug/732688
Comment 4 Will Thompson 2012-11-14 17:46:11 UTC
I've implemented the respawning-Close() behaviour for chat rooms in Idle (bug 24273). I feel like time spent making it opt-in could be better spent elsewhere, so I haven't done that.
Comment 5 GitLab Migration User 2019-12-03 20:19:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-spec/issues/39.


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.