Conversation header: fix check if anyone else is in the call
This commit is contained in:
parent
f5a85a0488
commit
778c8b4220
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ import {
|
|||
getConversationCallMode,
|
||||
} from '../ducks/conversations';
|
||||
import { getActiveCall, isAnybodyElseInGroupCall } from '../ducks/calling';
|
||||
import { getUserConversationId, getIntl } from '../selectors/user';
|
||||
import { getUserUuid, getIntl } from '../selectors/user';
|
||||
import { getOwn } from '../../util/getOwn';
|
||||
import { missingCaseError } from '../../util/missingCaseError';
|
||||
import { isConversationSMSOnly } from '../../util/isConversationSMSOnly';
|
||||
|
@ -71,7 +71,7 @@ const getOutgoingCallButtonStyle = (
|
|||
const call = getOwn(calling.callsByConversation, conversation.id);
|
||||
if (
|
||||
call?.callMode === CallMode.Group &&
|
||||
isAnybodyElseInGroupCall(call.peekInfo, getUserConversationId(state))
|
||||
isAnybodyElseInGroupCall(call.peekInfo, getUserUuid(state))
|
||||
) {
|
||||
return OutgoingCallButtonStyle.Join;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue