Don't bother looking for link previews OMEMO
Since it has to be stripped anyway without twomemo (cherry picked from commit 9901c353d5d202098a2a4272df38e7c69d7b4734)
This commit is contained in:
parent
d076228bff
commit
0aa471bdcd
1 changed files with 1 additions and 1 deletions
|
@ -1985,7 +1985,7 @@ public class XmppConnectionService extends Service {
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean waitForPreview = false;
|
boolean waitForPreview = false;
|
||||||
if (getPreferences().getBoolean("send_link_previews", true) && !previewedLinks && !message.needsUploading()) {
|
if (getPreferences().getBoolean("send_link_previews", true) && !previewedLinks && !message.needsUploading() && message.getEncryption() != Message.ENCRYPTION_AXOLOTL) {
|
||||||
final List<URI> links = message.getLinks();
|
final List<URI> links = message.getLinks();
|
||||||
if (!links.isEmpty()) {
|
if (!links.isEmpty()) {
|
||||||
waitForPreview = true;
|
waitForPreview = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue