Fix stale conversation sync labels on mobile

This commit is contained in:
kris
2026-04-07 13:35:52 +08:00
parent a43bb92f3c
commit 6153e94000
7 changed files with 76 additions and 4 deletions

View File

@@ -667,6 +667,10 @@ public class BossApiClient {
connection.setDoInput(true);
connection.setRequestProperty("Accept", "application/json");
connection.setRequestProperty("x-boss-native-app", "1");
if ("GET".equals(method)) {
connection.setRequestProperty("Cache-Control", "no-cache, no-store, max-age=0");
connection.setRequestProperty("Pragma", "no-cache");
}
String cookie = getSessionCookie();
if (!cookie.isEmpty()) {