forked from Ivasoft/mattermost-mobile
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:
committed by
GitHub
parent
dbd943ab8d
commit
81dd44ae09
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user