Fixed multiple local keywords

This commit is contained in:
M66B 2020-11-15 08:10:16 +01:00
parent c1ceaa6f6d
commit ab62485c1a
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ public class EntityOperation {
keywords.add(keyword); keywords.add(keyword);
Collections.sort(keywords); Collections.sort(keywords);
db.message().setMessageKeywords(message.id, DB.Converters.fromStringArray(keywords.toArray(new String[0]))); message.keywords = keywords.toArray(new String[0]);
db.message().setMessageKeywords(message.id, DB.Converters.fromStringArray(message.keywords));
} else if (LABEL.equals(name)) { } else if (LABEL.equals(name)) {
String label = jargs.getString(0); String label = jargs.getString(0);