Skip to content

Commit b42bc53

Browse files
authored
Fixing ChatSession.reset (#52)
* Fixing ChatSession.reset * Bumping version to 1.0.8
1 parent ceab3dd commit b42bc53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chat-sdk/src/main/java/com/amazon/connect/chat/sdk/ChatSession.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ class ChatSessionImpl @Inject constructor(private val chatService: ChatService)
258258
}
259259

260260
override suspend fun reset(): Result<Boolean> {
261+
cleanup()
262+
isChatSessionActive = false
261263
return withContext(Dispatchers.IO) {
262-
cleanup()
263-
isChatSessionActive = false
264264
chatService.reset()
265265
}
266266
}

chat-sdk/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sdkVersion=1.0.7
1+
sdkVersion=1.0.8
22
groupId=software.aws.connect
33
artifactId=amazon-connect-chat-android

0 commit comments

Comments
 (0)