Skip to content

Commit

Permalink
Fix exception when connecting to WS
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Dec 6, 2024
1 parent 96159c7 commit bf154f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
}

group = "dev.schlaubi.lavakord"
version = "8.2.0"

allprojects {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ internal class NodeImpl(
@OptIn(DelicateCoroutinesApi::class)
internal suspend fun connect(doResume: Boolean = false, initialSessionId: String? = null) {
val resume = doResume || initialSessionId != null
sessionId = initialSessionId ?: sessionId
if (initialSessionId != null) {
sessionId = initialSessionId
}
session = try {
connect(resume || initialSessionId != null) {
addUrl()
Expand Down

0 comments on commit bf154f0

Please sign in to comment.