Author: vdegtyarev
Date: Mon Jun  1 05:16:13 2015
New Revision: 1682817

URL: http://svn.apache.org/r1682817
Log:
OPENMEETINGS-1213 Minor changes. 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=1682817&r1=1682816&r2=1682817&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
 Mon Jun  1 05:16:13 2015
@@ -113,7 +113,7 @@ public class InvitationService implement
                                if (users_id < 0) {
                                        owner = userDao.get(-users_id);
                                }
-                               users_id = owner == null ? users_id : 
owner.getUser_id();
+                               users_id = owner == null ? users_id : 
owner.getOwnerId();
                                User invitee = userDao.getContact(email, 
firstname, lastname, users_id);
                                Invitation invitation = 
invitationManager.getInvitation(invitee, roomDao.get(room_id),
                                                                
isPasswordProtected, invitationpass, Valid.fromInt(valid)


Reply via email to