mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
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>
This commit is contained in:
parent
609e5a2c71
commit
abd1d4b247
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user