Raises the default maximum hashtag limit from 5 to 8
This commit is contained in:
@@ -245,7 +245,7 @@ class AccountSecurityPreferences(
|
||||
val warnAboutPostsWithReports: MutableStateFlow<Boolean> = MutableStateFlow(true),
|
||||
val reportWarningThreshold: MutableStateFlow<Int> = MutableStateFlow(DefaultReportWarningThreshold),
|
||||
var filterSpamFromStrangers: MutableStateFlow<Boolean> = MutableStateFlow(true),
|
||||
val maxHashtagLimit: MutableStateFlow<Int> = MutableStateFlow(5),
|
||||
val maxHashtagLimit: MutableStateFlow<Int> = MutableStateFlow(8),
|
||||
var sendKind0EventsToLocalRelay: MutableStateFlow<Boolean> = MutableStateFlow(false),
|
||||
val addClientTag: MutableStateFlow<Boolean> = MutableStateFlow(true),
|
||||
) {
|
||||
|
||||
+1
-1
@@ -159,7 +159,7 @@ class AccountSecurityPreferencesInternal(
|
||||
var warnAboutPostsWithReports: Boolean = true,
|
||||
val reportWarningThreshold: Int = DefaultReportWarningThreshold,
|
||||
var filterSpamFromStrangers: Boolean = true,
|
||||
val maxHashtagLimit: Int = 5,
|
||||
val maxHashtagLimit: Int = 8,
|
||||
var sendKind0EventsToLocalRelay: Boolean = false,
|
||||
var addClientTag: Boolean = true,
|
||||
)
|
||||
|
||||
@@ -61,7 +61,7 @@ data class LiveHiddenUsers(
|
||||
val spammers: Set<String> = emptySet(),
|
||||
val hiddenWords: Set<String> = emptySet(),
|
||||
val mutedThreads: Set<String> = emptySet(),
|
||||
val maxHashtagLimit: Int = 5,
|
||||
val maxHashtagLimit: Int = 8,
|
||||
) {
|
||||
fun isUserHidden(userHex: String) = hiddenUsers.contains(userHex) || spammers.contains(userHex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user