Add sendPaymentNotification dbus method

Closes #1010
This commit is contained in:
AsamK 2022-09-18 16:56:30 +02:00
parent ed3992d993
commit 6feff1e42b
4 changed files with 28 additions and 1 deletions

View 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