Update dependencies

This commit is contained in:
AsamK 2022-11-07 19:43:15 +01:00
parent 6281cbfd5f
commit ccb37c00f6
3 changed files with 7 additions and 7 deletions

View file

@ -14,15 +14,15 @@ repositories {
}
dependencies {
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_63")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.4.2")
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_64")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.0")
implementation("com.google.protobuf", "protobuf-javalite", "3.21.6")
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
implementation("org.slf4j", "slf4j-api", "2.0.3")
implementation("org.xerial", "sqlite-jdbc", "3.39.3.0")
implementation("org.xerial", "sqlite-jdbc", "3.39.4.0")
implementation("com.zaxxer", "HikariCP", "5.0.1")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.0")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.1")
}
tasks.named<Test>("test") {

View file

@ -699,7 +699,7 @@ class ManagerImpl implements Manager {
byte[] receipt, String note, RecipientIdentifier.Single recipient
) throws IOException {
final var paymentNotification = new SignalServiceDataMessage.PaymentNotification(receipt, note);
final var payment = new SignalServiceDataMessage.Payment(paymentNotification);
final var payment = new SignalServiceDataMessage.Payment(paymentNotification, null);
final var messageBuilder = SignalServiceDataMessage.newBuilder().withPayment(payment);
try {
return sendMessage(messageBuilder, Set.of(recipient));