Skip to content

Commit c66844c

Browse files
byteduck-exploitlevlam
authored andcommitted
Fix chat.theme assignment in UpdateChatTheme update handler in Java Example.
1 parent 8fbaf84 commit c66844c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/java/org/drinkless/tdlib/example/Example.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public void onResult(TdApi.Object object) {
568568
TdApi.UpdateChatTheme updateChat = (TdApi.UpdateChatTheme) object;
569569
TdApi.Chat chat = chats.get(updateChat.chatId);
570570
synchronized (chat) {
571-
chat.themeName = updateChat.themeName;
571+
chat.theme = updateChat.theme;
572572
}
573573
break;
574574
}

0 commit comments

Comments
 (0)