|  |  | @ -8,11 +8,9 @@ import { UserUtils } from '../../session/utils'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { syncConfigurationIfNeeded } from '../../session/utils/syncUtils'; |  |  |  | import { syncConfigurationIfNeeded } from '../../session/utils/syncUtils'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { DAYS, MINUTES } from '../../session/utils/Number'; |  |  |  | import { DAYS, MINUTES } from '../../session/utils/Number'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { |  |  |  | import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   createOrUpdateItem, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   generateAttachmentKeyIfEmpty, |  |  |  |   generateAttachmentKeyIfEmpty, | 
			
		
	
		
		
			
				
					
					|  |  |  |   getItemById, |  |  |  |   getItemById, | 
			
		
	
		
		
			
				
					
					|  |  |  |   hasSyncedInitialConfigurationItem, |  |  |  |   hasSyncedInitialConfigurationItem, | 
			
		
	
		
		
			
				
					
					|  |  |  |   removeItemById, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | } from '../../data/data'; |  |  |  | } from '../../data/data'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { OnionPaths } from '../../session/onions'; |  |  |  | import { OnionPaths } from '../../session/onions'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { getMessageQueue } from '../../session/sending'; |  |  |  | import { getMessageQueue } from '../../session/sending'; | 
			
		
	
	
		
		
			
				
					|  |  | @ -46,20 +44,6 @@ export enum SectionType { | 
			
		
	
		
		
			
				
					
					|  |  |  |   Moon, |  |  |  |   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 Section = (props: { type: SectionType; avatarPath?: string }) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |   const ourNumber = useSelector(getOurNumber); |  |  |  |   const ourNumber = useSelector(getOurNumber); | 
			
		
	
		
		
			
				
					
					|  |  |  |   const unreadMessageCount = useSelector(getUnreadMessageCount); |  |  |  |   const unreadMessageCount = useSelector(getUnreadMessageCount); | 
			
		
	
	
		
		
			
				
					|  |  | @ -173,7 +157,6 @@ const doAppStartUp = (dispatch: Dispatch<any>) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |     void OnionPaths.getInstance().buildNewOnionPaths(); |  |  |  |     void OnionPaths.getInstance().buildNewOnionPaths(); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   void showUnstableAttachmentsDialogIfNeeded(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // init the messageQueue. In the constructor, we add all not send messages
 |  |  |  |   // 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
 |  |  |  |   // this call does nothing except calling the constructor, which will continue sending message in the pipeline
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   void getMessageQueue().processAllPending(); |  |  |  |   void getMessageQueue().processAllPending(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |