mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update gateway code.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5449 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -339,7 +339,7 @@ public class UserManager {
|
||||
* @param presence the presence.
|
||||
* @return the icon.
|
||||
*/
|
||||
public Icon getIconFromPresence(Presence presence) {
|
||||
public Icon getTabIconForPresence(Presence presence) {
|
||||
StatusItem statusItem = SparkManager.getWorkspace().getStatusBar().getItemFromPresence(presence);
|
||||
Icon tabIcon = null;
|
||||
|
||||
@ -356,11 +356,13 @@ public class UserManager {
|
||||
}
|
||||
}
|
||||
|
||||
Icon icon = SparkManager.getChatManager().getPresenceIconForContactHandler(presence);
|
||||
Icon icon = SparkManager.getChatManager().getTabIconForContactHandler(presence);
|
||||
if (icon != null) {
|
||||
tabIcon = icon;
|
||||
}
|
||||
|
||||
return tabIcon;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user