mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 02:50:56 +01: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