-
Notifications
You must be signed in to change notification settings - Fork 220
Add a banner to encrypted rooms with visible history. #4738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
c68aba4
6286d45
c59a88d
954992e
af75a73
98db45d
9f5215e
eea25fd
36acbce
fcd7cda
d099399
68d7832
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,6 +54,8 @@ | |
|
|
||
| case elementCallBaseURLOverride | ||
|
|
||
| case acknowledgedHistoryVisibleRooms | ||
|
||
|
|
||
| // Feature flags | ||
| case publicSearchEnabled | ||
| case fuzzyRoomListSearchEnabled | ||
|
|
@@ -110,7 +112,7 @@ | |
| // MARK: - Hooks | ||
|
|
||
| // swiftlint:disable:next function_parameter_count | ||
| func override(accountProviders: [String], | ||
|
Check warning on line 115 in ElementX/Sources/Application/Settings/AppSettings.swift
|
||
| allowOtherAccountProviders: Bool, | ||
| hideBrandChrome: Bool, | ||
| pushGatewayBaseURL: URL, | ||
|
|
@@ -170,6 +172,10 @@ | |
| @UserPreference(key: UserDefaultsKeys.hasSeenNewSoundBanner, defaultValue: true, storageType: .userDefaults(store)) | ||
| var hasSeenNewSoundBanner | ||
|
|
||
| /// The Set of room identifiers that the user has acknowledged have visible history. | ||
| @UserPreference(key: UserDefaultsKeys.acknowledgedHistoryVisibleRooms, defaultValue: [], storageType: .userDefaults(store)) | ||
| var acknowledgedHistoryVisibleRooms: Set<String> | ||
|
|
||
| /// The initial set of account providers shown to the user in the authentication flow. | ||
| /// | ||
| /// Account provider is the friendly term for the server name. It should not contain an `https` prefix and should | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.