Selaa lähdekoodia

require archived-conversations-v2

For archived conversations, require "-v2".
This is done because on server api, "archived-conversations" was already released for 20.0.2 by mistake which should have only be done for 20.1

As it's planned to release android talk 20.0.3 with a fresh master state, the archived conversations feature must be hidden manually, This is done by required "-v2".
Either it's served as this in the future or it can be removed for the 20.1.0 release.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 7 kuukautta sitten
vanhempi
commit
1968d43691

+ 1 - 1
app/src/main/java/com/nextcloud/talk/utils/CapabilitiesUtil.kt

@@ -56,7 +56,7 @@ enum class SpreedFeatures(val value: String) {
     DELETE_MESSAGES_UNLIMITED("delete-messages-unlimited"),
     BAN_V1("ban-v1"),
     EDIT_MESSAGES_NOTE_TO_SELF("edit-messages-note-to-self"),
-    ARCHIVE_CONVERSATIONS("archived-conversations")
+    ARCHIVE_CONVERSATIONS("archived-conversations-v2")
 }
 
 @Suppress("TooManyFunctions")