|
|
|
@ -5989,7 +5989,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
|
|
|
|
|
String chost = FragmentDialogOpenLink.getConfirmHost(uri);
|
|
|
|
|
boolean sanitize_links = prefs.getBoolean("sanitize_links", false);
|
|
|
|
|
boolean confirm_link = (chost != null && prefs.getBoolean(chost + ".confirm_link", true));
|
|
|
|
|
boolean confirm_link = (chost == null || prefs.getBoolean(chost + ".confirm_link", true));
|
|
|
|
|
if (always_confirm || sanitize_links || (confirm_links && confirm_link)) {
|
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
|
args.putParcelable("uri", uri);
|
|
|
|
|