diff --git a/app/build.gradle b/app/build.gradle
index 945c1978e..d896364ed 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -219,7 +219,7 @@ dependencies {
compileOnly 'javax.annotation:javax.annotation-api:1.3.2'
// Android only
implementation 'org.greenrobot:eventbus:3.2.0'
- implementation 'io.requery:requery:1.5.1'
+ implementation 'io.requery:requery:1.6.1'
implementation 'io.requery:requery-android:1.6.1'
implementation 'net.zetetic:android-database-sqlcipher:3.5.9'
kapt 'io.requery:requery-processor:1.6.1'
diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
index 7facc123a..ea65f469f 100644
--- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
+++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
@@ -434,14 +434,17 @@ class ChatController(args: Bundle) :
messageHolders.registerContentType(
CONTENT_TYPE_SYSTEM_MESSAGE, MagicSystemMessageViewHolder::class.java,
- R.layout.item_system_message, MagicSystemMessageViewHolder::class.java, R.layout.item_system_message,
+ R.layout.item_system_message, MagicSystemMessageViewHolder::class.java,
+ R.layout.item_system_message,
this
)
messageHolders.registerContentType(
CONTENT_TYPE_UNREAD_NOTICE_MESSAGE,
- MagicUnreadNoticeMessageViewHolder::class.java, R.layout.item_date_header,
- MagicUnreadNoticeMessageViewHolder::class.java, R.layout.item_date_header, this
+ MagicUnreadNoticeMessageViewHolder::class.java,
+ R.layout.item_date_header,
+ MagicUnreadNoticeMessageViewHolder::class.java,
+ R.layout.item_date_header, this
)
adapter = TalkMessagesListAdapter(
diff --git a/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt
index 2deafa3e5..9b6aa4d64 100644
--- a/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt
+++ b/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt
@@ -128,6 +128,7 @@ object DrawableUtils {
drawableMap["text/css"] = R.drawable.ic_mimetype_text_code
drawableMap["text/csv"] = R.drawable.ic_mimetype_x_office_spreadsheet
drawableMap["text/html"] = R.drawable.ic_mimetype_text_code
+ drawableMap["text/vcard"] = R.drawable.ic_mimetype_text_vcard
drawableMap["text/x-c"] = R.drawable.ic_mimetype_text_code
drawableMap["text/x-c++src"] = R.drawable.ic_mimetype_text_code
drawableMap["text/x-h"] = R.drawable.ic_mimetype_text_code
diff --git a/scripts/analysis/lint-results.txt b/scripts/analysis/lint-results.txt
index ac0be8569..7a97c565d 100644
--- a/scripts/analysis/lint-results.txt
+++ b/scripts/analysis/lint-results.txt
@@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
- Lint Report: 3 errors and 370 warnings
+ Lint Report: 3 errors and 369 warnings