diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-03 23:50:03 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-04 01:57:16 +0200 |
commit | 8aef9f4027a9908f9f7f8e023fed4d9db50c5696 (patch) | |
tree | 6b14b9c57cbf64d8b42dafa0ea7e99abe1774d61 /tubes/source/contacts.cxx | |
parent | 374fb913a78edaa765e0f731d823d6e8180f56fe (diff) |
tubes: stop collaborating when the contact leaves
Change-Id: I779aededb95eac6cbfb2fec3e97d207704244e25
Diffstat (limited to 'tubes/source/contacts.cxx')
-rw-r--r-- | tubes/source/contacts.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tubes/source/contacts.cxx b/tubes/source/contacts.cxx index aa3fb790e42d..4db911368d0b 100644 --- a/tubes/source/contacts.cxx +++ b/tubes/source/contacts.cxx @@ -124,6 +124,7 @@ class TubeContacts : public ModelessDialog tp_contact_get_identifier( pContact ) ); else { + pConference->setCollaboration( mpCollaboration ); mpCollaboration->SetCollaboration( pConference ); mpCollaboration->SendFile( pContact, OStringToOUString( pConference->getUuid(), RTL_TEXTENCODING_UTF8 ) ); @@ -146,6 +147,7 @@ class TubeContacts : public ModelessDialog SAL_WARN( "tubes", "Could not start group session." ); else { + pConference->setCollaboration( mpCollaboration ); mpCollaboration->SetCollaboration( pConference ); } } |