Remove debug toast messages

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2023-03-10 15:12:16 +01:00
parent abd1d4b247
commit 6a7f54a5bf
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -2095,15 +2095,6 @@ class ChatController(args: Bundle) :
"", "",
sessionIdAfterRoomJoined 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" sessionIdAfterRoomJoined = "0"
@ -2216,14 +2207,10 @@ class ChatController(args: Bundle) :
if (conversationUser == null) { if (conversationUser == null) {
return return
} }
webSocketInstance = WebSocketConnectionHelper.getWebSocketInstanceForUserId(conversationUser.id!!) webSocketInstance = WebSocketConnectionHelper.getWebSocketInstanceForUserId(conversationUser.id!!)
if (webSocketInstance == null) { if (webSocketInstance == null) {
Log.e(TAG, "failed to setup webSocketInstance") Log.d(TAG, "webSocketInstance not set up. This should only happen when not using the HPB")
if (BuildConfig.DEBUG) {
Toast.makeText(context, "failed to setup webSocketInstance", Toast.LENGTH_LONG).show()
}
} }
} }