mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
unify start-chat dialogs
This commit is contained in:
@@ -625,6 +625,9 @@ public class ConversationItem extends LinearLayout
|
||||
}
|
||||
})
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.setNeutralButton(R.string.menu_block_contact, (dialog, which) -> {
|
||||
dcContext.blockContact(messageRecord.getFromId(), 1);
|
||||
})
|
||||
.setMessage(context.getString(R.string.ask_start_chat_with, dcContext.getContact(messageRecord.getFromId()).getDisplayName()))
|
||||
.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user