X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlphp%2Fctdlprotocol.php;h=a15686f3529ed4b6718579e610ea10a8620e4c20;hb=7fa46b7fccd6fca4ee3b77d089b6cca2ddf2e20d;hp=0463ad5125e8accb647755c79e0ba2b855889936;hpb=d225f65da44828385c69660fb47f6ac58ef2a61d;p=citadel.git diff --git a/ctdlphp/ctdlprotocol.php b/ctdlphp/ctdlprotocol.php index 0463ad512..a15686f35 100644 --- a/ctdlphp/ctdlprotocol.php +++ b/ctdlphp/ctdlprotocol.php @@ -269,6 +269,13 @@ function ctdl_knrooms() { $tok = strtok("|"); if ($tok) $thisline["access"] = $tok; + if ($thisline["access"] & 8) { + $thisline["hasnewmsgs"] = TRUE; + } + else { + $thisline["hasnewmsgs"] = FALSE; + } + $num_lines = array_push($all_lines, $thisline); }