You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by vd...@apache.org on 2015/05/29 13:37:15 UTC
svn commit: r1682425 -
/openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java
Author: vdegtyarev
Date: Fri May 29 11:37:15 2015
New Revision: 1682425
URL: http://svn.apache.org/r1682425
Log:
OPENMEETINGS-1213 is fixed. Invitation works as expected for contacts.
Modified:
openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java
Modified: openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java?rev=1682425&r1=1682424&r2=1682425&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java (original)
+++ openmeetings/branches/3.0.x/src/main/java/org/apache/openmeetings/remote/InvitationService.java Fri May 29 11:37:15 2015
@@ -109,6 +109,7 @@ public class InvitationService implement
Calendar calFrom = getDate(validFromDate, validFromTime, iCalTz);
Calendar calTo = getDate(validToDate, validToTime, iCalTz);
+ users_id = users_id > 0 ? users_id : -users_id;
User invitee = userDao.getContact(email, firstname, lastname, users_id);
Invitation invitation = invitationManager.getInvitation(invitee, roomDao.get(room_id),
isPasswordProtected, invitationpass, Valid.fromInt(valid)