Download flags for debugging purposes

This commit is contained in:
M66B
2019-01-29 20:15:24 +00:00
parent 174ff16b4c
commit 187ec27083
8 changed files with 1509 additions and 3 deletions

View File

@@ -413,6 +413,15 @@ public class MessageHelper {
return imessage.isSet(Flags.Flag.FLAGGED);
}
String getFlags() throws MessagingException {
if (!BuildConfig.DEBUG)
return null;
Flags flags = imessage.getFlags();
flags.clearUserFlags();
return flags.toString();
}
String[] getKeywords() throws MessagingException {
return imessage.getFlags().getUserFlags();
}