Skip to content

Commit b797746

Browse files
committed
Simply prevent copying connectionState. It is a control elsewhere so we should not copy default state!
1 parent 8910c6a commit b797746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/src/main/java/io/github/jwdeveloper/tiktok/TikTokRoomInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ public void copy(LiveRoomInfo roomInfo) {
7070
this.hostName = roomInfo.getHostName();
7171
this.title = roomInfo.getTitle();
7272
this.language = roomInfo.getLanguage();
73-
this.connectionState = roomInfo.getConnectionState();
73+
// this.connectionState = roomInfo.getConnectionState(); // This should not be copied - Controlled elsewhere!
7474
}
7575
}

0 commit comments

Comments
 (0)