@Override public boolean isSignedInToLimewire() { for (FriendPresence presence : friend.getPresences().values()) { if (presence.getFeature(LimewireFeature.ID) != null) { return true; } } return false; }
@Override public MessageWriter createChat(MessageReader reader) { return friend.createChat(reader); }
@Override public String getName() { return friend.getRenderName(); }
@Override public String getID() { return friend.getId(); }
private FriendPresence getPresenceForModeAndStatus() { ArrayList<FriendPresence> presences = new ArrayList<FriendPresence>(friend.getPresences().values()); Collections.sort(presences, new ModeAndPriorityPresenceComparator()); return presences.size() == 0 ? null : presences.get(presences.size() - 1); }
@Override public boolean isSignedIn() { return friend.isSignedIn(); }