summaryrefslogtreecommitdiff
path: root/tubes/source/manager.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-07-26 17:56:12 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-26 22:15:58 +0200
commitdf2369657ebe36c3888bb032e693bf1fcb49bb51 (patch)
tree9aaf358dde0a0b139cc8ea0738410fb144c1f772 /tubes/source/manager.cxx
parent4eed899c596fdcb777ccb0a59c72718c6b2c295d (diff)
tubes: send file when inviting contact to MUC collaboration
- add UUID info to TeleConference - let SendFile function take argument for contact instead of getting contact from the channel info, what couldn't work for MUC channel Change-Id: I4dc45c084966a030ff4b503e192d452797f0bfdd
Diffstat (limited to 'tubes/source/manager.cxx')
-rw-r--r--tubes/source/manager.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index 9df5468e80b8..c0f742719321 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -221,6 +221,7 @@ void TeleManager_TransferDone( EmpathyFTHandler *handler, TpFileTransferChannel
sal_Int32 first = aUri.indexOf('_');
sal_Int32 last = aUri.lastIndexOf('_');
+ SAL_WARN_IF( first == last, "tubes", "No UUID to associate with the file!" );
if (first != last)
{
OString sUuid( OUStringToOString( aUri.copy( first + 1, last - first - 1),
@@ -600,7 +601,7 @@ TeleConference* TeleManager::startGroupSession( TpAccount *pAccount,
setChannelReadyHandlerInvoked( false);
- TeleConference* pConference = new TeleConference( this, NULL, NULL );
+ TeleConference* pConference = new TeleConference( this, NULL, NULL, aSessionId );
tp_account_channel_request_create_and_handle_channel_async(
pChannelRequest, NULL, TeleManager_ChannelReadyHandler, pConference);