talk-android icon indicating copy to clipboard operation
talk-android copied to clipboard

fix to keep session

Open mahibi opened this issue 3 years ago • 3 comments

WIP, will be improved.

when you were in a chat and received a call notification, then in onDetach of the chatview the session was removed by leaving the room. This fix will check if a call notification is ongoing and suppress to leave the room.

leaving the room in "onDetach" might cause more problems..(for example on first call when granting permissions?!)

TODO:

  • [ ] check which issues might be related to the onDetach& leaveRoom handling

Signed-off-by: Marcel Hibbe [email protected]

mahibi avatar Nov 22 '21 21:11 mahibi

Lint

TypemasterPR
Warnings223224
Errors11

SpotBugs (new)

Warning Type Number
Bad practice Warnings 12
Correctness Warnings 121
Experimental Warnings 2
Internationalization Warnings 9
Malicious code vulnerability Warnings 168
Performance Warnings 29
Security Warnings 4
Dodgy code Warnings 214
Total 559

SpotBugs (master)

Warning Type Number
Bad practice Warnings 12
Correctness Warnings 121
Experimental Warnings 2
Internationalization Warnings 9
Malicious code vulnerability Warnings 168
Performance Warnings 29
Security Warnings 4
Dodgy code Warnings 214
Total 559

Lint increased!

nextcloud-android-bot avatar Nov 23 '21 19:11 nextcloud-android-bot

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/1723-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

github-actions[bot] avatar Nov 23 '21 19:11 github-actions[bot]

i think i was on the wrong track here. While it would still make sense to keep the session for this case (might be improved), the true error seems to be https://github.com/nextcloud/talk-android/issues/1725

mahibi avatar Nov 23 '21 21:11 mahibi