diff --git a/lib/src/main/java/org/asamk/signal/manager/helper/SendHelper.java b/lib/src/main/java/org/asamk/signal/manager/helper/SendHelper.java index 36c4f0d5..666867fe 100644 --- a/lib/src/main/java/org/asamk/signal/manager/helper/SendHelper.java +++ b/lib/src/main/java/org/asamk/signal/manager/helper/SendHelper.java @@ -617,6 +617,13 @@ public class SendHelper { } catch (NotFoundException e) { logger.warn("Someone was unregistered. Falling back to legacy sends.", e); return null; + } catch (IOException e) { + if (e.getCause() instanceof InvalidKeyException) { + logger.warn("Invalid key. Falling back to legacy sends.", e); + return null; + } else { + throw e; + } } }