A platform for community discussion. Free, open, simple.
DEV: Fix resolvedTimezone deprecation in chat-live-pane (#19436)
Martin Brennan8676a55c83c0
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.js b/plugins/chat/assets/javascripts/discourse/components/chat-live-pane.jsindex 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 (