diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/sendlater.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index 98a16d5ce4..317e4d6aa1 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -455,10 +455,16 @@ int CSendLater::sendIt(CSendLaterJob *job) return 0;
}
}
- if (wContactStatus == ID_STATUS_OFFLINE) {
- job->bCode = CSendLaterJob::JOB_STATUS;
- return 0;
- }
+
+ // RM: use offline only for protocols which doesn't support offline sending
+ // - but no protocol except facebook supports PF4_IMSENDOFFLINE so disabled at all
+ /*if (wContactStatus == ID_STATUS_OFFLINE) {
+ int pcaps = CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_4, 0);
+ if (!(pcaps & PF4_IMSENDOFFLINE)) {
+ job->bCode = CSendLaterJob::JOB_STATUS;
+ return 0;
+ }
+ }*/
dwFlags = IsUtfSendAvailable(hContact) ? PREF_UTF : PREF_UNICODE;
|