{
className={messageSubText}
html={message}
/>
- {messageSub && (
-
- {messageSub}
-
- )}
+
diff --git a/ts/components/session/settings/SessionSettings.tsx b/ts/components/session/settings/SessionSettings.tsx
index e6562a8db..5a3928e89 100644
--- a/ts/components/session/settings/SessionSettings.tsx
+++ b/ts/components/session/settings/SessionSettings.tsx
@@ -613,6 +613,25 @@ export class SettingsView extends React.Component {
confirmationDialogParams: undefined,
});
}
+
+ if (blockedNumbers.length === 0) {
+ return [
+ {
+ id: 'noBlockedContacts',
+ title: '',
+ description: window.i18n('noBlockedContacts'),
+ type: undefined,
+ category: SessionSettingCategory.Blocked,
+ content: undefined,
+ comparisonValue: undefined,
+ setFn: undefined,
+ hidden: false,
+ onClick: undefined,
+ confirmationDialogParams: undefined,
+ },
+ ];
+ }
+
return results;
}
diff --git a/ts/session/types/OpenGroup.ts b/ts/session/types/OpenGroup.ts
index 4666bdefa..e8fd0f2e2 100644
--- a/ts/session/types/OpenGroup.ts
+++ b/ts/session/types/OpenGroup.ts
@@ -129,7 +129,7 @@ export class OpenGroup {
conversation = await PromiseUtils.timeout(
window.attemptConnection(prefixedServer, channel),
- 5000
+ 15000
);
if (!conversation) {
throw new Error(window.i18n('connectToServerFail'));