Skip to content

Commit fab1b96

Browse files
committed
Upload text attachment also if there no other attachments
Fixes #1598
1 parent 91eacc1 commit fab1b96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/main/java/org/asamk/signal/manager/internal/ManagerImpl.java

+2
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ private void applyMessage(
771771
} else {
772772
messageBuilder.withAttachments(uploadedAttachments);
773773
}
774+
} else if (!additionalAttachments.isEmpty()) {
775+
messageBuilder.withAttachments(additionalAttachments);
774776
}
775777
if (!message.mentions().isEmpty()) {
776778
messageBuilder.withMentions(resolveMentions(message.mentions()));

0 commit comments

Comments
 (0)