talk-android
talk-android copied to clipboard
Send silentFor array parameter when switch-to an extended_conversation
- To resolve https://github.com/nextcloud/spreed/issues/14983 clients need to tell the backend to send call notifications and ignore the previous participant
- API in progress in https://github.com/nextcloud/spreed/pull/15083
- Starting point should be https://github.com/nextcloud/talk-android/blob/1e1a8f7f21c0b3d2f74a4278bb3f09703b0e0533/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageReceiver.java#L295
- API call where you need to send the silentFor is https://github.com/nextcloud/talk-android/blob/1e1a8f7f21c0b3d2f74a4278bb3f09703b0e0533/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt#L3024
The silentFor array can be set to the conversation.name of the previous conversation
As we don't start an extended conversation from android side during a call, implementing this does not make sense yet in my opinion.
Starting an extended conversation (by adding someone to 1:1) during a call on android should only be done after implementing a service for the calls (so we are more flexible what to display on screen while having the call running in background, in this case the screen to add more participants. Picture-in-picture mode or displaying a dialog would be only bad workarounds for this). This is a bigger task and needs more time.