]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java
Add sendPaymentNotification dbus method
[signal-cli] / src / main / java / org / asamk / signal / dbus / DbusManagerImpl.java
index e13aee4dd652e36810195d68726edc91a78ca0de..b78f8022b8feced5761313c512b11a726f604184 100644 (file)
@@ -388,7 +388,8 @@ public class DbusManagerImpl implements Manager {
     public SendMessageResults sendPaymentNotificationMessage(
             final byte[] receipt, final String note, final RecipientIdentifier.Single recipient
     ) throws IOException {
-        throw new UnsupportedOperationException();
+        final var timestamp = signal.sendPaymentNotification(receipt, note, recipient.getIdentifier());
+        return new SendMessageResults(timestamp, Map.of());
     }
 
     @Override