Bug 307990 - Auto join jabber conference rooms
Summary: Auto join jabber conference rooms
Status: CONFIRMED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
: 316645 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-06 21:33 UTC by Jussi Schultink
Modified: 2016-03-19 16:14 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Schultink 2012-10-06 21:33:40 UTC
When I add rooms to the favourites list, I should be able to make them autojoin when I come online.

Reproducible: Always
Comment 1 Martin Klapetek 2013-02-19 09:44:17 UTC
I imagine there could be another kded module plugin watching for connection changes and once we're connected, take a list of those rooms (~/.kde/share/config/ktelepathyrc - [FavoriteRooms]) and simply connect to them.

However I've never worked around groupchats, would that work?
Comment 2 David Edmundson 2013-02-19 10:47:11 UTC
That would work. 

The "problem" is you then get autospawning windows all over the place. Which is generally a bad user experience. We can make it not auto-jump on top, but that's about it, but it will still randomly "appear" a few seconds after you told it to connect.

What (I assume) people want from auto-join, is to join a room without opening a window which in our architecture isn't very easy.
Comment 3 Martin Klapetek 2013-03-02 10:10:51 UTC
Idea: we can have a group chat handler without (visible) UI and then contact list will have an observer and will keep a list of the rooms. Opening the room displays the UI of the handler (widget->show()).

Would that work?
Comment 4 Martin Klapetek 2013-03-02 10:14:58 UTC
> Opening the room

...from the list in contact list, obviously ;)

This would require passing some hints on the autostarted rooms to hide the window/widget as we want to show the UI if you manually connect to a room.
Comment 5 David Edmundson 2013-03-02 14:35:30 UTC
Contact list has an observer now :)
Though it doesn't cover groups, because modifying the model to update existing contacts .. and add new items gets rather messy.

First step is to show active group chats in the contact list.

As for you ridea, we could pass a hint to make the text-ui not show the window, but it's a bit messy. Or we make a new invisible handler, that delegates if the channel is requested without the hint (i.e contact list clicked)
Comment 6 Martin Klapetek 2013-03-13 11:02:11 UTC
*** Bug 316645 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holec 2013-04-10 19:38:41 UTC
This is the last thing, which prevents me from using KTP instead of Gajim.
https://bugs.kde.org/show_bug.cgi?id=316645 describes this well.
Comment 8 Alex 2013-08-16 08:02:26 UTC
Impossible to try to switch from pidgin without this feature!
Comment 9 Murz 2014-03-18 07:04:37 UTC
Is there any solution or workaround for autojoin jabber conferences in KDE Telepathy 0.8 version?
Comment 10 Martin Klapetek 2014-03-19 09:26:02 UTC
Not that I know of, sorry.

Unfortunately none of the devs use jabber conferences so this is not a super priority for us. But we'd be happy to guide anyone willing to work on this :)
Comment 11 Steven Roose 2015-06-09 15:59:13 UTC
Any news on this?

It is currently possible to bookmark conferences, so that's already a lot easier. You have to open them manually on startup though. But they are saved (if you checked them to be bookmarked), so you can rejoin them with a simple double click.

But I'm also pro adding conference rooms to the contact list in a different group and having an option to auto-join them on startup.
Comment 12 Jean Revertera 2015-06-12 06:15:58 UTC
Ok, I must also move to another client because of this.

Bookmarks are simply not enough when used on a daily basis. I forget opening them from time to time and people in my teams have started complaining from my lack of presence.

Pidgin is handling this remarkably well with chat rooms are showing up in the contact list, the possibility to autojoin on startup and autoleave (or not) when closing the chat window.
Comment 13 Martin Klapetek 2015-06-12 08:16:29 UTC
There's an almost finished patch at https://git.reviewboard.kde.org/r/118237/

It would require someone to pick it up, fix the issues and post new patch to RB, if anyone is interested...
Comment 14 Piotr Dobrogost 2015-12-17 13:37:35 UTC
It seems people had problem getting this feature in Kopete, too – Bug 65803 - stay in a chat even when no window is open (https://bugs.kde.org/show_bug.cgi?id=65803).
Comment 15 Randy Barlow 2016-03-19 15:49:19 UTC
This and https://bugs.kde.org/show_bug.cgi?id=331026 might be duplicates.