mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Download flags for debugging purposes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user