* entroom (): after creating a room, don't display the empty room but rather display...
authorWilfried Göesgens <willi@citadel.org>
Sun, 11 Jul 2010 20:03:31 +0000 (20:03 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 11 Jul 2010 20:03:31 +0000 (20:03 +0000)
webcit/roomops.c

index 5e7359b5fd6e8455077bd716e20de54a1a8cbac7..511e42701b5e336e795155c6d8179cb365cdca46 100644 (file)
@@ -2623,9 +2623,14 @@ void entroom(void)
        /** TODO: Room created, now udate the left hand icon bar for this user */
        burn_folder_cache(0);   /* burn the old folder cache */
        
-       
+       /////////////
        gotoroom(er_name);
-       do_change_view(er_view);                /* Now go there */
+
+       serv_printf("VIEW %d", er_view);
+       serv_getln(buf, sizeof buf);
+       WC->CurRoom.view = er_view;
+
+       display_editroom ();
 }