|
|
@ -262,17 +262,16 @@ export class SessionConversation extends React.Component<Props, State> {
|
|
|
|
<SessionTheme>
|
|
|
|
<SessionTheme>
|
|
|
|
<div className="conversation-header">
|
|
|
|
<div className="conversation-header">
|
|
|
|
<ConversationHeaderWithDetails />
|
|
|
|
<ConversationHeaderWithDetails />
|
|
|
|
{selectedConversation?.hasOutdatedClient &&
|
|
|
|
{selectedConversation?.hasOutdatedClient?.length ? (
|
|
|
|
selectedConversation.hasOutdatedClient.length > 0 && (
|
|
|
|
<NoticeBanner
|
|
|
|
<NoticeBanner
|
|
|
|
text={bannerText}
|
|
|
|
text={bannerText}
|
|
|
|
dismissCallback={() => {
|
|
|
|
dismissCallback={() => {
|
|
|
|
const conversation = getConversationController().get(selectedConversation.id);
|
|
|
|
const conversation = getConversationController().get(selectedConversation.id);
|
|
|
|
conversation.set({ hasOutdatedClient: undefined });
|
|
|
|
conversation.set({ hasOutdatedClient: undefined });
|
|
|
|
void conversation.commit();
|
|
|
|
void conversation.commit();
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
) : null}
|
|
|
|
)}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{isSelectedConvoInitialLoadingInProgress ? (
|
|
|
|
{isSelectedConvoInitialLoadingInProgress ? (
|
|
|
|
<ConvoLoadingSpinner />
|
|
|
|
<ConvoLoadingSpinner />
|
|
|
|