FIX: correctly reset active message on destroy (#23844)

It should prevent any message action to still show after a transition while hovering a message (eg: link to channel settings from a message).
This commit is contained in:
Joffrey JAFFEUX
2023-10-09 15:16:42 +02:00
committed by GitHub
parent 2ac2c846bc
commit f13f2fecfe

View File

@@ -313,6 +313,7 @@ export default class ChatMessage extends Component {
cancel(this._makeMessageActiveHandler);
cancel(this._debounceDecorateCookedMessageHandler);
this.#teardownMentionedUsers();
this.chat.activeMessage = null;
}
@action