Bug 209022

Summary: Jabber protocol shouldn't send to offline resources
Product: [Unmaintained] kopete Reporter: Charles Samuels <charles>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: pali.rohar, vhdirk
Priority: NOR    
Version First Reported In: 0.70.90   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 4.10
Sentry Crash Report:

Description Charles Samuels 2009-09-30 21:06:21 UTC
Version:           0.70.90 (using KDE 4.3.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

My friend has a gtalk account. He uses his gtalk account from multiple devices (say, his Android phone, his Kopete client at work, his GTalk client at home), usually he's marked as unavailable/idle/away (whatever) on one or more of these clients. Namely, when he's at work, he's away on all of them except for his work 'puter.

When I click the Jabber Lightbulb on his name on the contact list, there's the "Select Resource", there's a few options there: "android-$number", "gmail-number" etc, along with "Automatic (best/default resource)".

When I select Automatic, I would expect it to only send to those accounts which are not away or unavailable, otherwise it's really annoying for him. If all accounts are  away or unavailable, then obviously it should send to all. 

Logically, once I get a reply, it should start using just the one that was replied to - but understandably that might be difficult more difficult to implement.
Comment 1 Dirk Van Haerenborgh 2010-05-31 11:13:14 UTC
This is still present in KDE 4.4.3 (kubuntu lucid), and actually it is pretty annoying..

I can't even select the resource manually, it doesn't change a thing. So, whenever I want to chat so someone that owns an android phone, I need to switch to gmail chat, otherwise his phone would ping on every message I send, which makes him a bit angry ;)
Comment 2 Pali Rohár 2013-06-04 16:48:00 UTC
Manual resource selection was fixed in KDE 4.10 (svn revision 1328052).

When automatic resource is selected message is sent without resource string. In both cases (manual or automatic resource) it is up to jabber server what will do with resource...