mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Remove debug toast messages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
abd1d4b247
commit
6a7f54a5bf
1 changed files with 1 additions and 14 deletions
|
@ -2095,15 +2095,6 @@ class ChatController(args: Bundle) :
|
|||
"",
|
||||
sessionIdAfterRoomJoined
|
||||
)
|
||||
} else {
|
||||
Log.e(TAG, "magicWebSocketInstance or currentConversation were null! Failed to leave the room!")
|
||||
if (BuildConfig.DEBUG) {
|
||||
Toast.makeText(
|
||||
context,
|
||||
"magicWebSocketInstance or currentConversation were null! Failed to leave the room!",
|
||||
Toast.LENGTH_LONG
|
||||
).show()
|
||||
}
|
||||
}
|
||||
|
||||
sessionIdAfterRoomJoined = "0"
|
||||
|
@ -2216,14 +2207,10 @@ class ChatController(args: Bundle) :
|
|||
if (conversationUser == null) {
|
||||
return
|
||||
}
|
||||
|
||||
webSocketInstance = WebSocketConnectionHelper.getWebSocketInstanceForUserId(conversationUser.id!!)
|
||||
|
||||
if (webSocketInstance == null) {
|
||||
Log.e(TAG, "failed to setup webSocketInstance")
|
||||
if (BuildConfig.DEBUG) {
|
||||
Toast.makeText(context, "failed to setup webSocketInstance", Toast.LENGTH_LONG).show()
|
||||
}
|
||||
Log.d(TAG, "webSocketInstance not set up. This should only happen when not using the HPB")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue