[ekiga] Update code to recent opal change in IM



commit 8c02582bdfa81ea0154572549fbfc319811a72f1
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Aug 3 12:48:18 2011 +0200

    Update code to recent opal change in IM

 lib/engine/components/opal/sip-endpoint.cpp |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index 32be1aa..a82286b 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -274,10 +274,11 @@ Opal::Sip::EndPoint::send_message (const std::string & _uri,
 				   const std::string & _message)
 {
   if (!_uri.empty () && (_uri.find ("sip:") == 0 || _uri.find (':') == string::npos) && !_message.empty ()) {
-
-    PURL fromAddress;
-    PString conversationId;
-    Message (PURL(_uri), "text/plain;charset=UTF-8", _message, fromAddress, conversationId);
+    OpalIM im;
+    im.m_to = PURL (_uri);
+    im.m_mimeType = "text/plain;charset=UTF-8";
+    im.m_body = _message;
+    Message (im);
     return true;
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]