diff --git a/app/src/main/java/com/nextcloud/talk/utils/preferences/preferencestorage/DatabaseStorageModule.kt b/app/src/main/java/com/nextcloud/talk/utils/preferences/preferencestorage/DatabaseStorageModule.kt index 5577b4d01..25260e3f4 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/preferences/preferencestorage/DatabaseStorageModule.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/preferences/preferencestorage/DatabaseStorageModule.kt @@ -216,8 +216,8 @@ class DatabaseStorageModule( override fun getString( key: String, - defaultVal: String - ): String { + defaultVal: String? + ): String? { if (key != "message_notification_level" && key != "conversation_name" && key != "conversation_password"