Эх сурвалжийг харах

Remove to set localParticipantMessageListener in joinRoom

this is already done in onAttach which seems to do the job fine after using workManager queues and fixing to set externalSignalingServer to user.
See commits da1714bb and 29a37086

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 жил өмнө
parent
commit
abd1d4b247

+ 0 - 4
app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

@@ -2003,10 +2003,6 @@ class ChatController(args: Bundle) :
 
 
                         logConversationInfos("joinRoomWithPassword#onNext")
                         logConversationInfos("joinRoomWithPassword#onNext")
 
 
-                        // Ensure that the listener is added if the web socket instance was not set up yet when
-                        // onAttach() was called.
-                        webSocketInstance?.getSignalingMessageReceiver()?.addListener(localParticipantMessageListener)
-
                         if (isFirstMessagesProcessing) {
                         if (isFirstMessagesProcessing) {
                             pullChatMessages(false)
                             pullChatMessages(false)
                         } else {
                         } else {