MM-52653 - Calls: Attach call to existing thread on /call start (#7338)

* send rootId when starting a call from a thread

* allow join to start calls in threads and with thread titles
This commit is contained in:
Christopher Poile
2023-06-15 10:08:50 -04:00
committed by GitHub
parent dbd943ab8d
commit 81dd44ae09
4 changed files with 16 additions and 9 deletions

View File

@@ -166,7 +166,7 @@ export default function SendHandler({
const sendCommand = useCallback(async () => {
if (value.trim().startsWith('/call')) {
const {handled, error} = await handleCallsSlashCommand(value.trim(), serverUrl, channelId, currentUserId, intl);
const {handled, error} = await handleCallsSlashCommand(value.trim(), serverUrl, channelId, rootId, currentUserId, intl);
if (handled) {
setSendingMessage(false);
clearDraft();