mcabber/src/screen.c
changeset 715 be9f6224c3ca
parent 714 4bcd48f6ca5f
child 716 ba1137a01078
--- a/mcabber/src/screen.c	Sat Mar 04 22:01:42 2006 +0100
+++ b/mcabber/src/screen.c	Sat Mar 04 22:16:39 2006 +0100
@@ -936,15 +936,6 @@
 
   if (roster_hidden != old_roster_status) {
     if (roster_hidden) {
-      // The requested status is hidden.
-      // Let's check it makes sense...
-      if ((!current_buddy) ||
-          ((buddy_gettype(BUDDATA(current_buddy)) &
-            (ROSTER_TYPE_USER|ROSTER_TYPE_ROOM|ROSTER_TYPE_AGENT)) == 0)) {
-        // We should not hide the roster.
-        roster_hidden = FALSE;
-        return; // No need to refresh, a priori.
-      }
       // Enter chat mode
       scr_set_chatmode(TRUE);
       scr_ShowBuddyWindow();
@@ -1049,9 +1040,6 @@
   if (!current_buddy || !newbuddy)  return;
   if (newbuddy == current_buddy)    return;
 
-  // We're changing the selected buddy, the roster must be displayed.
-  scr_RosterVisibility(1);
-
   prev_st = buddy_getstatus(BUDDATA(current_buddy), NULL);
   buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, FALSE);
   if (chatmode)