1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Get all IMAP folder user flags

This commit is contained in:
M66B 2018-11-26 14:35:01 +01:00
parent 1d62bc5978
commit cb3e9ecea9

View file

@ -848,8 +848,7 @@ public class ServiceSynchronize extends LifecycleService {
List<String> keywords = new ArrayList<>();
for (String keyword : ifolder.getPermanentFlags().getUserFlags())
if (!keyword.startsWith("$"))
keywords.add(keyword);
keywords.add(keyword);
db.folder().setFolderKeywords(folder.id, DB.Converters.fromStringArray(keywords.toArray(new String[0])));
Log.i(Helper.TAG, account.name + " folder " + folder.name + " flags=" + ifolder.getPermanentFlags());