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 {
|
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.fasterxml.jackson.core", "jackson-databind", "2.13.3")
|
||||||
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
|
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
|
||||||
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
||||||
|
|
|
@ -564,7 +564,8 @@ class ManagerImpl implements Manager {
|
||||||
final var quote = message.quote().get();
|
final var quote = message.quote().get();
|
||||||
messageBuilder.withQuote(new SignalServiceDataMessage.Quote(quote.timestamp(),
|
messageBuilder.withQuote(new SignalServiceDataMessage.Quote(quote.timestamp(),
|
||||||
context.getRecipientHelper()
|
context.getRecipientHelper()
|
||||||
.resolveSignalServiceAddress(context.getRecipientHelper().resolveRecipient(quote.author())),
|
.resolveSignalServiceAddress(context.getRecipientHelper().resolveRecipient(quote.author()))
|
||||||
|
.getServiceId(),
|
||||||
quote.message(),
|
quote.message(),
|
||||||
List.of(),
|
List.of(),
|
||||||
resolveMentions(quote.mentions()),
|
resolveMentions(quote.mentions()),
|
||||||
|
@ -651,7 +652,7 @@ class ManagerImpl implements Manager {
|
||||||
var targetAuthorRecipientId = context.getRecipientHelper().resolveRecipient(targetAuthor);
|
var targetAuthorRecipientId = context.getRecipientHelper().resolveRecipient(targetAuthor);
|
||||||
var reaction = new SignalServiceDataMessage.Reaction(emoji,
|
var reaction = new SignalServiceDataMessage.Reaction(emoji,
|
||||||
remove,
|
remove,
|
||||||
context.getRecipientHelper().resolveSignalServiceAddress(targetAuthorRecipientId),
|
context.getRecipientHelper().resolveSignalServiceAddress(targetAuthorRecipientId).getServiceId(),
|
||||||
targetSentTimestamp);
|
targetSentTimestamp);
|
||||||
final var messageBuilder = SignalServiceDataMessage.newBuilder().withReaction(reaction);
|
final var messageBuilder = SignalServiceDataMessage.newBuilder().withReaction(reaction);
|
||||||
return sendMessage(messageBuilder, recipients);
|
return sendMessage(messageBuilder, recipients);
|
||||||
|
|
|
@ -633,7 +633,7 @@ public class SendHelper {
|
||||||
message.getTimestamp(),
|
message.getTimestamp(),
|
||||||
Optional.of(message),
|
Optional.of(message),
|
||||||
message.getExpiresInSeconds(),
|
message.getExpiresInSeconds(),
|
||||||
Map.of(address, true),
|
Map.of(address.getServiceId(), true),
|
||||||
false,
|
false,
|
||||||
Optional.empty(),
|
Optional.empty(),
|
||||||
Set.of());
|
Set.of());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue