mirror of
https://github.com/igniterealtime/Spark.git
synced 2026-08-18 11:10:02 +00:00
refactor ContactItem
This commit is contained in:
@ -313,7 +313,7 @@ public final class OnlineAgents extends JPanel {
|
||||
if (presence.getType() == Presence.Type.unavailable) {
|
||||
contactGroup.removeContactItem(item);
|
||||
}
|
||||
else if (presence.getType() == Presence.Type.available) {
|
||||
else if (presence.isAvailable()) {
|
||||
Icon icon = PresenceManager.getIconFromPresence(presence);
|
||||
item.setIcon(icon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user