diff --git a/src/main/java/eu/siacs/conversations/utils/UIHelper.java b/src/main/java/eu/siacs/conversations/utils/UIHelper.java
index c8b9823ee..6dcf517a0 100644
--- a/src/main/java/eu/siacs/conversations/utils/UIHelper.java
+++ b/src/main/java/eu/siacs/conversations/utils/UIHelper.java
@@ -502,6 +502,8 @@ public class UIHelper {
return context.getString(R.string.ebook);
} else if (mime.equals("application/gpx+xml")) {
return context.getString(R.string.gpx_track);
+ } else if (mime.equals("text/plain")) {
+ return context.getString(R.string.plain_text_document);
} else {
return mime;
}
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 87c44a9fd..9f3ba84ac 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -965,4 +965,5 @@
No active accounts support this feature
The backup has been started. You’ll get a notification once it has been completed.
Unable to enable video.
+ Plain text document