mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Keyword fixes/improvements
This commit is contained in:
@@ -48,6 +48,7 @@ import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
import java.util.HashMap;
|
||||
@@ -629,7 +630,9 @@ public class MessageHelper {
|
||||
}
|
||||
|
||||
String[] getKeywords() throws MessagingException {
|
||||
return imessage.getFlags().getUserFlags();
|
||||
List<String> keywords = Arrays.asList(imessage.getFlags().getUserFlags());
|
||||
Collections.sort(keywords);
|
||||
return keywords.toArray(new String[0]);
|
||||
}
|
||||
|
||||
String getMessageID() throws MessagingException {
|
||||
|
||||
Reference in New Issue
Block a user