r7411 - dumbhippo/trunk/server/src/com/dumbhippo/server/impl



Author: walters
Date: 2008-04-08 09:34:57 -0500 (Tue, 08 Apr 2008)
New Revision: 7411

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/impl/InvitationSystemBean.java
Log:
Don't make system special character contact of newly invited people.

It's slow, ugly, and not really useful.


Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/impl/InvitationSystemBean.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/impl/InvitationSystemBean.java	2008-04-03 20:57:36 UTC (rev 7410)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/impl/InvitationSystemBean.java	2008-04-08 14:34:57 UTC (rev 7411)
@@ -718,6 +718,8 @@
 		for (InviterData inviterData : invite.getInviters()) {
 			if (!inviterData.isDeleted()) {
 			    Account inviterAccount = inviterData.getInviter().getAccount();
+			    if (accounts.isSpecialCharacter(inviterAccount.getOwner()))
+			    	continue;
 			    spider.createContact(newUser, inviterAccount);
 			}
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]