DEV: Fix resolvedTimezone deprecation in chat-live-pane (#19436)

c.f. 7d7551adfc
This commit is contained in:
Martin Brennan 2022-12-13 18:20:15 +10:00 committed by GitHub
parent 8b3c6cd396
commit 8676a55c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,10 +170,7 @@ export default Component.extend({
didReceiveAttrs() { didReceiveAttrs() {
this._super(...arguments); this._super(...arguments);
this.currentUserTimezone = this.currentUser?.resolvedTimezone( this.currentUserTimezone = this.currentUser?.user_option.timezone;
this.currentUser
);
this.set("targetMessageId", this.chat.messageId); this.set("targetMessageId", this.chat.messageId);
if ( if (