diff --git a/graalvm-config-dir/reflect-config.json b/graalvm-config-dir/reflect-config.json index 442ad3c276..3125a44e8d 100644 --- a/graalvm-config-dir/reflect-config.json +++ b/graalvm-config-dir/reflect-config.json @@ -426,6 +426,9 @@ { "name":"javax.smartcardio.CardPermission" }, +{ + "name":"jdk.internal.misc.Unsafe" +}, { "name":"kotlin.Any" }, @@ -1485,6 +1488,9 @@ "name":"org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std", "methods":[{"name":"","parameterTypes":[] }] }, +{ + "name":"org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.Std" +}, { "name":"org.bouncycastle.jcajce.provider.symmetric.AES$Mappings", "methods":[{"name":"","parameterTypes":[] }] diff --git a/graalvm-config-dir/resource-config.json b/graalvm-config-dir/resource-config.json index 8d629bae2a..e6451e63dd 100644 --- a/graalvm-config-dir/resource-config.json +++ b/graalvm-config-dir/resource-config.json @@ -4,12 +4,26 @@ "pattern":"\\QMETA-INF/maven/org.xerial/sqlite-jdbc/pom.properties\\E" }, { "pattern":"\\QMETA-INF/services/ch.qos.logback.classic.spi.Configurator\\E" + }, { + "pattern":"\\QMETA-INF/services/java.lang.System$LoggerFinder\\E" + }, { + "pattern":"\\QMETA-INF/services/java.net.spi.InetAddressResolverProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/java.net.spi.URLStreamHandlerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/java.nio.channels.spi.SelectorProvider\\E" }, { "pattern":"\\QMETA-INF/services/java.sql.Driver\\E" + }, { + "pattern":"\\QMETA-INF/services/java.time.zone.ZoneRulesProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/java.util.spi.ResourceBundleControlProvider\\E" }, { "pattern":"\\QMETA-INF/services/kotlin.reflect.jvm.internal.impl.builtins.BuiltInsLoader\\E" }, { "pattern":"\\QMETA-INF/services/kotlin.reflect.jvm.internal.impl.resolve.ExternalOverridabilityCondition\\E" + }, { + "pattern":"\\QMETA-INF/services/kotlin.reflect.jvm.internal.impl.util.ModuleVisibilityHelper\\E" }, { "pattern":"\\QMETA-INF/services/org.freedesktop.dbus.spi.transport.ITransportProvider\\E" }, { @@ -180,6 +194,8 @@ "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt67b/nfc.nrm\\E" }, { "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt67b/uprops.icu\\E" + }, { + "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt72b/uprops.icu\\E" }, { "pattern":"java.base:\\Qsun/net/idn/uidna.spp\\E" }, { diff --git a/lib/src/main/java/org/asamk/signal/manager/helper/IncomingMessageHandler.java b/lib/src/main/java/org/asamk/signal/manager/helper/IncomingMessageHandler.java index 51b7c5233a..9d69632ecc 100644 --- a/lib/src/main/java/org/asamk/signal/manager/helper/IncomingMessageHandler.java +++ b/lib/src/main/java/org/asamk/signal/manager/helper/IncomingMessageHandler.java @@ -344,8 +344,10 @@ public List handleMessage( } } - if (content.getDataMessage().isPresent()) { - var message = content.getDataMessage().get(); + if (content.getDataMessage().isPresent() || content.getEditMessage().isPresent()) { + var message = content.getDataMessage().isPresent() + ? content.getDataMessage().get() + : content.getEditMessage().get().getDataMessage(); if (content.isNeedsReceipt()) { actions.add(new SendReceiptAction(sender,