Skip to content

Commit

Permalink
remove onsendreponse
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Jan 10, 2025
1 parent ed0a754 commit b66ed5a
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,27 +86,6 @@ object NotificationDataSource : NostrDataSource(NostrSigner.getInstance().client
}
}

override fun onSendResponse(
eventId: String,
success: Boolean,
message: String,
relay: Relay,
) {
scope.launch {
LocalPreferences.currentAccount(NostrSigner.getInstance())?.let { account ->
NostrSigner.getInstance().getDatabase(account).applicationDao().insertLog(
LogEntity(
id = 0,
url = relay.url,
type = "onSendResponse",
message = "Success: $success Message: $message",
time = System.currentTimeMillis(),
),
)
}
}
}

override fun onAuth(
relay: Relay,
challenge: String,
Expand Down

0 comments on commit b66ed5a

Please sign in to comment.