Integrated the DKIM signer into serv_smtpclient, but disabled it
[citadel.git] / webcit / roomops.c
index 059eadf8071d9739f961b505eb570263fea2d6b0..2adf938d7f693a41865b894f928ffe9a22cb993a 100644 (file)
@@ -11,7 +11,7 @@
 // GNU General Public License for more details.
 
 #include "webcit.h"
-#include "webserver.h"
+
 
 ConstStr QRFlagList[] = {
        {HKEY(strof(QR_PERMANENT))},
@@ -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, '|');