Added javadocs, removed redundant exception.

This commit is contained in:
akwizgran
2016-11-14 10:30:38 +00:00
parent 3a2205123f
commit da543c1004
3 changed files with 16 additions and 3 deletions

View File

@@ -459,9 +459,6 @@ class GroupInvitationManagerImpl extends ConversationClientImpl
db.commitTransaction(txn);
// If there's no session, the contact can be invited
if (ss == null) return true;
// If there's a session, it should be a creator session
if (sessionParser.getRole(ss.bdfSession) != CREATOR)
throw new IllegalArgumentException();
// If the session's in the start state, the contact can be invited
CreatorSession session = sessionParser
.parseCreatorSession(contactGroupId, ss.bdfSession);