|
|
@ -709,7 +709,8 @@ class ThreadSettingsViewModel: SessionTableViewModel<ThreadSettingsViewModel.Nav
|
|
|
|
from: isBlocked,
|
|
|
|
from: isBlocked,
|
|
|
|
isBlocked: !isBlocked,
|
|
|
|
isBlocked: !isBlocked,
|
|
|
|
threadId: threadId,
|
|
|
|
threadId: threadId,
|
|
|
|
displayName: threadViewModel.displayName
|
|
|
|
displayName: threadViewModel.displayName,
|
|
|
|
|
|
|
|
using: dependencies
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -807,7 +808,8 @@ class ThreadSettingsViewModel: SessionTableViewModel<ThreadSettingsViewModel.Nav
|
|
|
|
from oldBlockedState: Bool,
|
|
|
|
from oldBlockedState: Bool,
|
|
|
|
isBlocked: Bool,
|
|
|
|
isBlocked: Bool,
|
|
|
|
threadId: String,
|
|
|
|
threadId: String,
|
|
|
|
displayName: String
|
|
|
|
displayName: String,
|
|
|
|
|
|
|
|
using dependencies: Dependencies
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
guard oldBlockedState != isBlocked else { return }
|
|
|
|
guard oldBlockedState != isBlocked else { return }
|
|
|
|
|
|
|
|
|
|
|
|