From 8676a55c83c0e130f9d0283d5a7bbd7607be3561 Mon Sep 17 00:00:00 2001
From: Martin Brennan <martin@discourse.org>
Date: Tue, 13 Dec 2022 18:20:15 +1000
Subject: [PATCH] DEV: Fix resolvedTimezone deprecation in chat-live-pane
 (#19436)

c.f. https://github.com/discourse/discourse/commit/7d7551adfcee90f61297d261742338b8bfe72255
---
 .../javascripts/discourse/components/chat-live-pane.js       | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.js b/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.js
index edfe800ff79..4104ba0ba9f 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.js
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.js
@@ -170,10 +170,7 @@ export default Component.extend({
   didReceiveAttrs() {
     this._super(...arguments);
 
-    this.currentUserTimezone = this.currentUser?.resolvedTimezone(
-      this.currentUser
-    );
-
+    this.currentUserTimezone = this.currentUser?.user_option.timezone;
     this.set("targetMessageId", this.chat.messageId);
 
     if (