r7515 - dumbhippo/trunk/openfire/src/plugins/hippo/src/java/com/dumbhippo/jive



Author: marinaz
Date: 2008-09-25 16:54:25 -0500 (Thu, 25 Sep 2008)
New Revision: 7515

Modified:
   dumbhippo/trunk/openfire/src/plugins/hippo/src/java/com/dumbhippo/jive/WhereImIQHandler.java
Log:
ExternalAccountChangedEvent now has user id, OnlineAccountType name, and an ExternalAccount id.

Modified: dumbhippo/trunk/openfire/src/plugins/hippo/src/java/com/dumbhippo/jive/WhereImIQHandler.java
===================================================================
--- dumbhippo/trunk/openfire/src/plugins/hippo/src/java/com/dumbhippo/jive/WhereImIQHandler.java	2008-09-25 21:50:57 UTC (rev 7514)
+++ dumbhippo/trunk/openfire/src/plugins/hippo/src/java/com/dumbhippo/jive/WhereImIQHandler.java	2008-09-25 21:54:25 UTC (rev 7515)
@@ -96,7 +96,7 @@
 		UserViewpoint viewpoint = new UserViewpoint(user, Site.XMPP);		
 		ExternalAccount acct;
 		try {
-			acct = externalAccountSystem.lookupExternalAccount(viewpoint, user, event.getType());
+			acct = externalAccountSystem.lookupExternalAccount(viewpoint, String.valueOf(event.getId()));
 		} catch (NotFoundException e) {
 			throw new RuntimeException("Couldn't find changed external account for user " + user, e);
 		}



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