talk-android/app/src
Marcel Hibbe 4a0b67ee9c avoid duplicated messages after sending
It could happen that when sending a message it was received on server but if the servers response is not received, the retry was triggered in the talk app.
This sometimes happened when internet connection was not the best.

Best would be that messages with the same referenceId would be refused on server side, but this won't be the case for now. So messages with the same referenceId are NOT refused as this would be too much overhead as there would be additional queries on server for every received message)

For now, the automatic retry logic is just removed so duplicated messages won't be created automatically.
However it's still possible to manually trigger the retry via button. In this case it is not guaranteed that there won't be duplicates.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 14:58:54 +00:00
..
androidTest/java/com/nextcloud/talk ktlintFormat 2024-11-21 11:34:24 +01:00
generic Add SPDX header 2024-03-24 15:19:21 +01:00
gplay Fix naming of app in header 2024-03-24 20:06:56 +01:00
main avoid duplicated messages after sending 2025-02-06 14:58:54 +00:00
qa fix: Have correct SPDX license header for logo/trademarked items 2024-04-25 18:29:46 +02:00
test fix nullable createRoom param for FakeRepository classes 2025-02-06 10:46:30 +00:00