MM-16228 Add compatibility for removal of ExperimentalEnablePostMetadata flag from config (#2883)
This commit is contained in:
parent
82b12eb44f
commit
c8e4bc01ad
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ function mapStateToProps(state, ownProps) {
|
|||
config.EnableCustomEmoji !== 'true' ||
|
||||
config.ExperimentalEnablePostMetadata === 'true' ||
|
||||
getCurrentUserId(state) === '' ||
|
||||
!isMinimumServerVersion(Client4.getServerVersion(), 4, 7);
|
||||
!isMinimumServerVersion(Client4.getServerVersion(), 4, 7) ||
|
||||
isMinimumServerVersion(Client4.getServerVersion(), 5, 12);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue