mirror of https://github.com/oxen-io/session-ios
feature flag approval sending
parent
bc4260b444
commit
b7989e9384
@ -0,0 +1,22 @@
|
||||
//
|
||||
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// By centralizing feature flags here and documenting their rollout plan, it's easier to review
|
||||
/// which feature flags are in play.
|
||||
@objc(SSKFeatureFlags)
|
||||
public class FeatureFlags: NSObject {
|
||||
|
||||
/// iOS has long supported sending oversized text as a sidecar attachment. The other clients
|
||||
/// simply displayed it as a text attachment. As part of the new cross-client long-text feature,
|
||||
/// we want to be able to display long text with attachments as well. Existing iOS clients
|
||||
/// won't properly display this, so we'll need to wait a while for rollout.
|
||||
/// The stakes aren't __too__ high, because legacy clients won't lose data - they just won't
|
||||
/// see the media attached to a long text message until they update their client.
|
||||
@objc
|
||||
public static var sendingMediaWithOversizeText: Bool {
|
||||
return false
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue