AccountID's getAccountUserID() is now called getAccountID()

cusax-fix
Emil Ivov 20 years ago
parent be0b11314b
commit 716eed7027

@ -675,7 +675,7 @@ private Element createProtoContactNode(Contact protoContact)
protoContactElement.setAttribute(
ACCOUNT_ID_ATTR_NAME
, protoContact.getProtocolProvider().getAccountID().getAccountUID());
, protoContact.getProtocolProvider().getAccountID().getAccountUniqueID());
protoContactElement.setAttribute(
PARENT_PROTO_GROUP_UID_ATTR_NAME
@ -708,7 +708,7 @@ private Element createProtoContactGroupNode(ContactGroup protoGroup)
protoGroupElement.setAttribute(
ACCOUNT_ID_ATTR_NAME
, protoGroup.getProtocolProvider().getAccountID().getAccountUID());
, protoGroup.getProtocolProvider().getAccountID().getAccountUniqueID());
protoGroupElement.setAttribute(
PARENT_PROTO_GROUP_UID_ATTR_NAME

@ -408,7 +408,7 @@ public Iterator getContactGroupsForAccountID(String accountID)
ContactGroup group = (ContactGroup)encapsulatedGroups.next();
if(group.getProtocolProvider().getAccountID()
.getAccountUID().equals(accountID))
.getAccountUniqueID().equals(accountID))
{
protoGroups.add(group);
}

@ -1250,7 +1250,7 @@ private void handleProviderAdded(
.getName());
this.currentlyInstalledProviders.put(
provider.getAccountID().getAccountUID(), provider);
provider.getAccountID().getAccountUniqueID(), provider);
//If we have a persistent presence op set - then retrieve its contat
//list and merge it with the local one.
@ -1261,12 +1261,12 @@ private void handleProviderAdded(
try
{
storageManager.extractContactsForAccount(
provider.getAccountID().getAccountUID());
provider.getAccountID().getAccountUniqueID());
}
catch (XMLException exc)
{
logger.error("Failed to load contacts for account "
+ provider.getAccountID().getAccountUID(), exc);
+ provider.getAccountID().getAccountUniqueID(), exc);
}
synchronizeOpSetWithLocalContactList(opSetPersPresence);

@ -302,7 +302,7 @@ public ProtocolProviderService getProtocolProviderForAccount(
ProtocolProviderService pps
= (ProtocolProviderService)protocolProviders.get(i);
if (pps.getAccountID().getAccountUserID().equals(accountName)) {
if (pps.getAccountID().getUserID().equals(accountName)) {
return pps;
}
}
@ -363,7 +363,7 @@ public void activateAccount(ProtocolProviderService protocolProvider) {
* @return The account user id for the given protocol provider.
*/
public String getAccount(ProtocolProviderService protocolProvider) {
return protocolProvider.getAccountID().getAccountUserID();
return protocolProvider.getAccountID().getUserID();
}
/**

@ -83,7 +83,7 @@ public StatusSelectorBox(MainFrame mainFrame,
this.mainFrame = mainFrame;
this.protocolProvider = protocolProvider;
this.setToolTipText(protocolProvider.getAccountID().getAccountUserID());
this.setToolTipText(protocolProvider.getAccountID().getUserID());
this.init();
}

@ -171,7 +171,7 @@ public SnacCommand handle(IcbmChannelFourCommand messageCommand)
aimConnection.getInfoService().sendSnac(
new AuthReplyCmd(
String.valueOf(icqProvider.getAccountID().
getAccountUserID()),
getUserID()),
authResponse.getReason(),
true));
}
@ -181,7 +181,7 @@ else if (authResponse.getResponseCode() ==
aimConnection.getInfoService().sendSnac(
new AuthReplyCmd(
String.valueOf(icqProvider.getAccountID().
getAccountUserID()),
getUserID()),
authResponse.getReason(),
false));
}

Loading…
Cancel
Save