Closed Almad closed 3 years ago
OK, so this is because old version never updates unread count and instead, new posts are queries for every tavern table:
$sql="SELECT count(*) as pocet FROM putyka_prispevky WHERE id_stolu='".$zaznam["id"]."' AND datum>'".$when["datum"]."'
GROUP BY id_stolu";
I deem this a "known bug" then. Fixing it in the new version would make tavern really slow and it will auto-fix itself after the old version is shut down.
I am apparently using the wrong unread count since "read" is tracked independently in each version.