mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Let IntroductionResponse know if introduction can succeed
and use this information in the android UI for showing that the user needs to wait or not.
This commit is contained in:
@@ -252,12 +252,12 @@ class ConversationVisitor implements
|
||||
if (r.isLocal()) {
|
||||
String text;
|
||||
if (r.wasAccepted()) {
|
||||
String suffix = r.canSucceed() ? "\n\n" + ctx.getString(
|
||||
R.string.introduction_response_accepted_sent_info,
|
||||
introducedAuthor) : "";
|
||||
text = ctx.getString(
|
||||
R.string.introduction_response_accepted_sent,
|
||||
introducedAuthor)
|
||||
+ "\n\n" + ctx.getString(
|
||||
R.string.introduction_response_accepted_sent_info,
|
||||
introducedAuthor);
|
||||
introducedAuthor) + suffix;
|
||||
} else {
|
||||
text = ctx.getString(
|
||||
R.string.introduction_response_declined_sent,
|
||||
|
||||
Reference in New Issue
Block a user