aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ShareWithActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
index 11c98d2b7..4cc97994d 100644
--- a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
@@ -119,7 +119,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer
if (data != null && "geo".equals(data.getScheme())) {
this.share.uris.clear();
this.share.uris.add(data);
- } else if (type != null && uri != null && (text == null || !type.equals("text/plain"))) {
+ } else if (type != null && uri != null) {
this.share.uris.clear();
this.share.uris.add(uri);
} else {