Show 'accept invite UI' for re-invite, calm progress spinner
This commit is contained in:
parent
5c0fcad6b1
commit
fa2d300714
8 changed files with 40 additions and 35 deletions
|
@ -23,6 +23,7 @@ import { EmojiPickDataType } from './emoji/EmojiPicker';
|
|||
|
||||
export type OwnProps = {
|
||||
readonly i18n: LocalizerType;
|
||||
readonly areWePending?: boolean;
|
||||
readonly groupVersion?: 1 | 2;
|
||||
readonly isMissingMandatoryProfileSharing?: boolean;
|
||||
readonly messageRequestsEnabled?: boolean;
|
||||
|
@ -115,6 +116,7 @@ export const CompositionArea = ({
|
|||
clearShowPickerHint,
|
||||
// Message Requests
|
||||
acceptedMessageRequest,
|
||||
areWePending,
|
||||
conversationType,
|
||||
groupVersion,
|
||||
isBlocked,
|
||||
|
@ -331,7 +333,10 @@ export const CompositionArea = ({
|
|||
};
|
||||
}, [setLarge]);
|
||||
|
||||
if (messageRequestsEnabled && (!acceptedMessageRequest || isBlocked)) {
|
||||
if (
|
||||
messageRequestsEnabled &&
|
||||
(!acceptedMessageRequest || isBlocked || areWePending)
|
||||
) {
|
||||
return (
|
||||
<MessageRequestActions
|
||||
i18n={i18n}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue