Bug 73684 - Can't send sms by clicking on the metacontact
Summary: Can't send sms by clicking on the metacontact
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: SMS Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 16:03 UTC by Leonidas Arvanitis
Modified: 2004-01-31 17:51 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 Leonidas Arvanitis 2004-01-28 16:03:45 UTC
Version:           0.8.0 RC1 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3 
OS:          Linux

I have the SMS plugin enabled. I create an account using a Greek provider called 'mycosmos' and then I add a test user (myself) to test it. When I right click all "Send..." options are disabled and when I double click on my name a window appears containing:

Title: User is Not Reachable - Kopete
! This user is not reachable at the moment. Please try a protocol that supports offline sending, or wait until this user comes online.

This used to work before I updated to KDE 3.2. I have 'smssend' installed and a valid account to this provider mentioned above. 
The only thing I don't know it's use is 'SMSSend prefix:' in 'SMSSend Options'. which I leave unchanged with the default "/usr". 

Please help! I need this feature...
Comment 1 Richard Lärkäng 2004-01-29 22:30:03 UTC
I can confirm this if you're clicking on the name.

If you click on the icon (the red mobile) you should be able to send.
Comment 2 Leonidas Arvanitis 2004-01-31 06:38:34 UTC
Clicking on the mobile icon doesn't work too.
Comment 3 Richard Lärkäng 2004-01-31 17:51:06 UTC
Subject: kdenetwork/kopete/protocols/sms

CVS commit by larkang: 

Get rid of broken SMSContact::isReachable() and use default one instead

CCMAIL: 73684-done@bugs.kde.org


  M +0 -8      smscontact.cpp   1.49
  M +0 -2      smscontact.h   1.31


--- kdenetwork/kopete/protocols/sms/smscontact.cpp  #1.48:1.49
@@ -127,12 +127,4 @@ void SMSContact::slotSendMessage(KopeteM
 }
 
-bool SMSContact::isReachable()
-{
-        if ( onlineStatus().status() != KopeteOnlineStatus::Unknown )
-                return true;
-        else
-                return false;
-}
-
 void SMSContact::slotUserInfo()
 {

--- kdenetwork/kopete/protocols/sms/smscontact.h  #1.30:1.31
@@ -39,6 +39,4 @@ public:
         QPtrList<KAction>* customContextMenuActions();
 
-        virtual bool isReachable();
-
         const QString &phoneNumber();
         void setPhoneNumber( const QString phoneNumber );