aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator
diff options
context:
space:
mode:
authorBoris Grozev <boris@jitsi.org>2013-06-22 10:13:19 +0300
committerBoris Grozev <boris@jitsi.org>2013-06-22 10:13:19 +0300
commit176fe3587016a5b04de0cd0080264c444040ffad (patch)
tree9bd706381630030e83dce09b6713c0f495141849 /src/net/java/sip/communicator
parentb540821ac438ff2718b33a9b37772ec8137dfac5 (diff)
downloadjitsi-176fe3587016a5b04de0cd0080264c444040ffad.zip
jitsi-176fe3587016a5b04de0cd0080264c444040ffad.tar.gz
jitsi-176fe3587016a5b04de0cd0080264c444040ffad.tar.bz2
Small bug fixes
Diffstat (limited to 'src/net/java/sip/communicator')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java8
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java2
2 files changed, 7 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java
index 5e55615..6da2fe6 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java
@@ -171,8 +171,12 @@ public class OperationSetTelephonyConferencingJabberImpl
ConferenceInfoDocument lastSentConfInfo
= callPeerJabber.getLastConferenceInfoSent();
- ConferenceInfoDocument diff
- = getConferenceInfoDiff(lastSentConfInfo, currentConfInfo);
+ ConferenceInfoDocument diff;
+
+ if (lastSentConfInfo == null)
+ diff = currentConfInfo;
+ else
+ diff = getConferenceInfoDiff(lastSentConfInfo, currentConfInfo);
if (diff != null)
{
diff --git a/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java b/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
index e47b25b..1f4c9cd 100644
--- a/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
+++ b/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
@@ -1326,7 +1326,7 @@ public abstract class AbstractOperationSetTelephonyConferencing<
throw new IllegalArgumentException("The 'b' document needs to"
+ "have state=full");
- if (stringsMatch(a.getEntity(), b.getEntity()))
+ if (!stringsMatch(a.getEntity(), b.getEntity()))
return false;
else if (a.getUserCount() != b.getUserCount())
return false;