From 1e718ada3d28a51ba80449feebaf5e6a70e07667 Mon Sep 17 00:00:00 2001 From: marian Date: Mon, 28 Jan 2008 13:38:25 +0000 Subject: [PATCH] Changed data member type. Fixed bug when notifying the presence to a remote subscriber. git-svn-id: http://voip.null.ro/svn/yate@1690 acf43c95-373e-0410-b603-e72c3f656dc1 --- modules/yjinglechan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/yjinglechan.cpp b/modules/yjinglechan.cpp index ce310f2e..9985234b 100644 --- a/modules/yjinglechan.cpp +++ b/modules/yjinglechan.cpp @@ -270,7 +270,7 @@ private: bool m_hangup; // Hang up flag: True - already hung up String m_reason; // Hangup reason // Timeouts - u_int32_t m_timeout; // Timeout for not answered outgoing connections + u_int64_t m_timeout; // Timeout for not answered outgoing connections }; /** @@ -1568,7 +1568,7 @@ void ResSubscribeHandler::process(const JabberID& from, const JabberID& to, // Respond if user has a resource with audio capabilities JIDResource* res = user->getAudio(false,true); if (res) { - user->notifyResource(true,res); + user->notifyResource(true,res->name()); break; } // No audio resource for remote user: send probe