talk-android/app/src/main/java/com/nextcloud/talk/data
Marcel Hibbe 220c135257
add hotfix to avoid NoSupportedApiException in ContactsRepositoryImpl
There were crash reports for:

Exception java.lang.RuntimeException:
...
Caused by com.nextcloud.talk.utils.NoSupportedApiException:
at com.nextcloud.talk.utils.ApiUtils.getConversationApiVersion (ApiUtils.kt:134)
at com.nextcloud.talk.contacts.ContactsRepositoryImpl.<init> (ContactsRepositoryImpl.kt:28)

This could happen because of missing capabilities for user and should be fixed.
As a fallback, API v4 is guessed

Adding this as comment in the code as the root cause must be found..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 16:31:52 +02:00
..
database save "silent" in chat messages (incl DB) 2025-01-10 12:32:32 +01:00
network fix TooManyRequestsException 2025-01-16 13:50:51 +01:00
source/local save "silent" in chat messages (incl DB) 2025-01-10 12:32:32 +01:00
storage Add SPDX header 2024-03-29 15:42:11 +01:00
user add hotfix to avoid NoSupportedApiException in ContactsRepositoryImpl 2025-04-14 16:31:52 +02:00