Fix initial friends date load for offline time.

This commit is contained in:
Jonathan Williams 2014-10-03 02:05:55 -07:00
parent 70122db510
commit 66457ded60

View File

@ -124,7 +124,7 @@ public class FriendRepository extends RepositoryBase
friend.Name = resultSet.getString(1);
friend.Status = Enum.valueOf(FriendStatusType.class, resultSet.getString(2));
friend.ServerName = resultSet.getString(3);
friend.LastSeenOnline = resultSet.getTimestamp(5).getTime() - resultSet.getTimestamp(5).getTime();
friend.LastSeenOnline = resultSet.getTimestamp(5).getTime() - resultSet.getTimestamp(4).getTime();
friendData.Friends.add(friend);
}