X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomtokens.c;h=0e632365f761757bdbb3fa91ff04b0fd8b8d73a6;hb=36821734e42c9200de69079d314b71c5a6b5526e;hp=884cd63f9d11174f3cd7ef51da4807b843e9c87c;hpb=ecc3a242b3cd375c478a4f7424b7987c6dfa416a;p=citadel.git diff --git a/webcit/roomtokens.c b/webcit/roomtokens.c index 884cd63f9..0e632365f 100644 --- a/webcit/roomtokens.c +++ b/webcit/roomtokens.c @@ -384,8 +384,6 @@ void tmplput_ThisRoom_nNewMessages(StrBuf *Target, WCTemplputParams *TP) { wcsession *WCC = WC; - LoadRoomXA(); - StrBufAppendPrintf(Target, "%d", WCC->CurRoom.nNewMessages); } @@ -393,8 +391,6 @@ void tmplput_ThisRoom_nTotalMessages(StrBuf *Target, WCTemplputParams *TP) { wcsession *WCC = WC; - LoadRoomXA(); - StrBufAppendPrintf(Target, "%d", WCC->CurRoom.nTotalMessages); }