fix(ThreadChannel): insert starter message from threads created in forum channels (#9100)

fix(ThreadChannel): insert starter message from forums

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jiralite
2023-02-17 19:43:21 +00:00
committed by GitHub
parent f70df910ed
commit 0b76ab4c40

View File

@@ -46,6 +46,8 @@ class ThreadChannel extends BaseChannel {
_patch(data, partial = false) {
super._patch(data);
if ('message' in data) this.messages._add(data.message);
if ('name' in data) {
/**
* The name of the thread