diff --git a/Core/src/org/sleuthkit/autopsy/communications/AccountsRootChildren.java b/Core/src/org/sleuthkit/autopsy/communications/AccountsRootChildren.java index 3da39f6776..12fa9f0567 100644 --- a/Core/src/org/sleuthkit/autopsy/communications/AccountsRootChildren.java +++ b/Core/src/org/sleuthkit/autopsy/communications/AccountsRootChildren.java @@ -115,7 +115,7 @@ class AccountsRootChildren extends Children.Keys { } long msgCount = 0; try { - msgCount = commsManager.getRelationshipsCount(filter, accountDeviceInstance); + msgCount = commsManager.getRelationshipsCount(accountDeviceInstance.getAccount(), filter ); } catch (TskCoreException ex) { LOGGER.log(Level.WARNING, "Failed to get message count for account", ex); //NON-NLS }