]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.c
serv_imap.c (citserver)/roomops.c (webcit): bugfixes to message flag handling (Phil...
[citadel.git] / webcit / roomops.c
index 059eadf8071d9739f961b505eb570263fea2d6b0..4e48be902352e69601e8f2dbe89a3338e7f060a2 100644 (file)
@@ -103,7 +103,7 @@ void dotgoto(void) {
                readloop(readnew, eUseDefault);
                return;
        }
-       if (WC->CurRoom.view != VIEW_MAILBOX) {
+       if ((WC->CurRoom.view != VIEW_MAILBOX) && (WC->CurRoom.view != VIEW_JSON_LIST)) {
                // dotgoto acts like dotskip when we're in a mailbox view
                slrp_highest();
        }
@@ -273,7 +273,7 @@ void ParseGoto(folder *room, StrBuf *Line) {
                room->RAFlags |= UA_ADMINALLOWED;
        }
 
-       room->UsersNewMAilboxMessages = StrBufExtractNext_long(Line, &Pos, '|');
+       StrBufExtractNext_long(Line, &Pos, '|');                        // position 9 is unused
        room->floorid = StrBufExtractNext_int(Line, &Pos, '|');
        room->view = StrBufExtractNext_long(Line, &Pos, '|');
        room->defview = StrBufExtractNext_long(Line, &Pos, '|');