Skip to content

Commit

Permalink
Merge branch 'np/delicate-add-wallet' of https://github.com/xmtp/xmtp…
Browse files Browse the repository at this point in the history
…-android into np/delicate-add-wallet
  • Loading branch information
nplasterer committed Feb 11, 2025
2 parents 1613070 + a154b1f commit 27b76f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class Client() {
ffiClient.applySignatureRequest(signatureRequest)
}

@DelicateApi("This function is delicate and should be used with caution. Adding a wallet already associated with an inboxId will cause the wallet to loose access to that inbox. See: inboxIdFromAddress(address)")
@DelicateApi("This function is delicate and should be used with caution. Adding a wallet already associated with an inboxId will cause the wallet to lose access to that inbox. See: inboxIdFromAddress(address)")
suspend fun addAccount(newAccount: SigningKey, allowReassignInboxId: Boolean = false) {
val inboxId: String? =
if (!allowReassignInboxId) inboxIdFromAddress(newAccount.address) else null
Expand Down

0 comments on commit 27b76f9

Please sign in to comment.