Implement RSS feeds

This commit is contained in:
Niels Andriesse
2019-08-28 14:19:08 +10:00
parent f6c1a3ef9c
commit 85373e7643
5 changed files with 136 additions and 25 deletions

View File

@@ -1162,12 +1162,12 @@ public class TextSecurePreferences {
setLongPreference(context, "background_poll_time", backgroundPollTime);
}
public static boolean isPublicChatSetUp(Context context) {
return getBooleanPreference(context, "is_public_chat_set_up", false);
public static boolean isChatSetUp(Context context, String id) {
return getBooleanPreference(context, "is_chat_set_up" + "?chat=" + id, false);
}
public static void markPublicChatSetUp(Context context) {
setBooleanPreference(context, "is_public_chat_set_up", true);
public static void markChatSetUp(Context context, String id) {
setBooleanPreference(context, "is_chat_set_up" + "?chat=" + id, true);
}
// endregion
}