mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update libsignal-service-java
This commit is contained in:
parent
ed7d023581
commit
de583475f9
3 changed files with 5 additions and 4 deletions
|
@ -14,7 +14,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_50")
|
||||
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_51")
|
||||
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.3")
|
||||
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
|
||||
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
||||
|
|
|
@ -564,7 +564,8 @@ class ManagerImpl implements Manager {
|
|||
final var quote = message.quote().get();
|
||||
messageBuilder.withQuote(new SignalServiceDataMessage.Quote(quote.timestamp(),
|
||||
context.getRecipientHelper()
|
||||
.resolveSignalServiceAddress(context.getRecipientHelper().resolveRecipient(quote.author())),
|
||||
.resolveSignalServiceAddress(context.getRecipientHelper().resolveRecipient(quote.author()))
|
||||
.getServiceId(),
|
||||
quote.message(),
|
||||
List.of(),
|
||||
resolveMentions(quote.mentions()),
|
||||
|
@ -651,7 +652,7 @@ class ManagerImpl implements Manager {
|
|||
var targetAuthorRecipientId = context.getRecipientHelper().resolveRecipient(targetAuthor);
|
||||
var reaction = new SignalServiceDataMessage.Reaction(emoji,
|
||||
remove,
|
||||
context.getRecipientHelper().resolveSignalServiceAddress(targetAuthorRecipientId),
|
||||
context.getRecipientHelper().resolveSignalServiceAddress(targetAuthorRecipientId).getServiceId(),
|
||||
targetSentTimestamp);
|
||||
final var messageBuilder = SignalServiceDataMessage.newBuilder().withReaction(reaction);
|
||||
return sendMessage(messageBuilder, recipients);
|
||||
|
|
|
@ -633,7 +633,7 @@ public class SendHelper {
|
|||
message.getTimestamp(),
|
||||
Optional.of(message),
|
||||
message.getExpiresInSeconds(),
|
||||
Map.of(address, true),
|
||||
Map.of(address.getServiceId(), true),
|
||||
false,
|
||||
Optional.empty(),
|
||||
Set.of());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue