Fix stale conversation sync labels on mobile
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user