Bug 210558 - Allow available word in XMPP presence/status as workaround for some protocol
Summary: Allow available word in XMPP presence/status as workaround for some protocol
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 16:33 UTC by Tomasz Kalkosiński
Modified: 2009-11-02 21:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Fix (492 bytes, patch)
2009-11-01 21:44 UTC, Roman Jarosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Kalkosiński 2009-10-14 16:33:16 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Compiled From Sources

There is a new polish XMPP implementation by tlen.pl. It works fine except one thing - it uses 'available' word in presence to mark user as online. I've reported a bug here: http://bugi.tlen.pl/index.php?do=details&task_id=1083 .

But I've also noticed that Kopete uses workaround for sms transport for word 'online' that is not in RFC 3921 standard - its case was reported and fixed here http://bugs.kde.org/show_bug.cgi?id=129059. Maybe we can support 'available' word in the same way? I've also read that 'available' was in previous version of Jabber standard (read here http://www.process-one.net/en/forum/viewthread/260/ ) but I couldn't get it confirmed.

Alos as far as I could get it recognized GTalk seemed fine with 'available' word and recognizes it online.

There can be also global workaround - if we don't recognize presence/show word as one of standard RFC ones, or Kopete internal 'connecting' - just kDebug it and set it to online - that is what gajim does - http://trac.gajim.org/ticket/488#comment:6 . Currently it's no-action (offline).
Comment 1 Roman Jarosz 2009-11-01 21:44:48 UTC
Created attachment 38013 [details]
Fix
Comment 2 Tomasz Kalkosiński 2009-11-02 00:03:41 UTC
Fix works as expected. Thanks!
Comment 3 Roman Jarosz 2009-11-02 21:02:27 UTC
SVN commit 1043996 by rjarosz:

If client sends invalid/unknown status then assume that the client is online.

BUG: 210558


 M  +1 -0      jabberprotocol.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043996
Comment 4 Roman Jarosz 2009-11-02 21:05:05 UTC
SVN commit 1043998 by rjarosz:

Backport commit 1043996.
If client sends invalid/unknown status then assume that the client is online.

CCBUG: 210558


 M  +1 -0      jabberprotocol.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043998