// GNU General Public License for more details.
#include "webcit.h"
-#include "webserver.h"
+
ConstStr QRFlagList[] = {
{HKEY(strof(QR_PERMANENT))},
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();
}
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, '|');
for (i=0; i<num_addrs; ++i) {
strcpy(line, bstr("prefix"));
extract_token(buf, bstr("line"), i, ',', sizeof buf);
- striplt(buf);
+ string_trim(buf);
strcat(line, buf);
strcat(line, bstr("suffix"));
serv_puts(line);