Merge remote-tracking branch 'upstream/master' into remove-fsv1-sogsv1

pull/1671/head
Audric Ackermann 4 years ago
commit 718f6dea9f
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -54,20 +54,6 @@ export enum SectionType {
Moon,
}
const showUnstableAttachmentsDialogIfNeeded = async () => {
const alreadyShown = (await getItemById('showUnstableAttachmentsDialog'))?.value;
if (!alreadyShown) {
window.confirmationDialog({
title: 'File server update',
message:
"We're upgrading the way files are stored. File transfer may be unstable for the next 24-48 hours.",
});
await createOrUpdateItem({ id: 'showUnstableAttachmentsDialog', value: true });
}
};
const Section = (props: { type: SectionType; avatarPath?: string }) => {
const ourNumber = useSelector(getOurNumber);
const unreadMessageCount = useSelector(getUnreadMessageCount);
@ -271,7 +257,6 @@ const doAppStartUp = (dispatch: Dispatch<any>) => {
void OnionPaths.buildNewOnionPathsOneAtATime();
}
void showUnstableAttachmentsDialogIfNeeded();
// init the messageQueue. In the constructor, we add all not send messages
// this call does nothing except calling the constructor, which will continue sending message in the pipeline
void getMessageQueue().processAllPending();

Loading…
Cancel
Save