Bug 77334 - sms sending blocked by kopete determining user is 'offline'
Summary: sms sending blocked by kopete determining user is 'offline'
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: SMS Plugin (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Lärkäng
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 23:15 UTC by dcinege
Modified: 2005-01-10 15:08 UTC (History)
0 users

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 dcinege 2004-03-11 23:15:23 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

As of about version 0.8 of kopete, when i double click on a SMS 'buddy' to send a message kopete replies:

This user is not reachable at the moment. Please try a protocol that supports offline sending, or wait until this user comes online.

SMS 'users' never come online. The backend does a one way delivery to an SMS gateway.
Comment 1 Richard Lärkäng 2004-03-13 16:44:19 UTC
Is this with kdenetwork 3.2.0?
If it is, the bug should be fixed with the 3.2.1 release.
Comment 2 dcinege 2004-03-13 18:10:45 UTC
I just reinstall 3.2.1-1 libkdenetwork and kdenetwork packages. Purged config from kopete, and setup a new SMS account and contact. Same error.
Comment 3 Richard Lärkäng 2004-03-21 21:42:47 UTC
CVS commit by larkang: 

Fix #77334 by adding isReachable again.
I think it only applies to branch, but I'll check with HEAD
later and see if I need to apply it there too.

CCMAIL: 77334-done@bugs.kde.org


  M +5 -0      smscontact.cpp   1.48.2.2
  M +2 -0      smscontact.h   1.30.2.2


--- kdenetwork/kopete/protocols/sms/smscontact.cpp  #1.48.2.1:1.48.2.2
@@ -67,4 +67,9 @@ void SMSContact::serialize( QMap<QString
 }
 
+bool SMSContact::isReachable()
+{
+  return true;
+}
+
 KopeteMessageManager* SMSContact::manager( bool )
 {

--- kdenetwork/kopete/protocols/sms/smscontact.h  #1.30.2.1:1.30.2.2
@@ -49,4 +49,6 @@ public:
                 QMap<QString, QString> &addressBookData );
 
+        virtual bool isReachable();
+
         KopeteMessageManager* manager( bool canCreate = false );
 


Comment 4 Raphael Borg Ellul Vincenti 2005-01-10 15:08:57 UTC
I just checked out and compiled kde 3.4 beta1 from cvs. Using a new kde user profile I am still getting "The user is not reachable at the moment. Please make sure you are connected and using a protocol that support offline sending, or wait until this user comes online.", when sending an sms using the SMSSend protocol.

I checked the source and I couldn't find your patch above. The exception for SMSSend has to be re-introduced.