Enable timestamp update in presence refresh
This commit is contained in:
parent
1af9954606
commit
bca39042d7
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@ sip_port=-1
|
|||
sip_tcp_port=-1
|
||||
sip_tls_port=-1
|
||||
media_encryption=none
|
||||
update_presence_model_timestamp_before_publish_expires_refresh=1
|
||||
|
||||
[net]
|
||||
#Because dynamic bitrate adaption can increase bitrate, we must allow "no limit"
|
||||
|
|
|
@ -446,6 +446,10 @@ class CoreContext(
|
|||
computeUserAgent()
|
||||
|
||||
val fiveOneMigrationRequired = core.config.getBool("app", "migration_5.1_required", true)
|
||||
if (fiveOneMigrationRequired) {
|
||||
core.config.setBool("sip", "update_presence_model_timestamp_before_publish_expires_refresh", true)
|
||||
}
|
||||
|
||||
for (account in core.accountList) {
|
||||
if (account.params.identityAddress?.domain == corePreferences.defaultDomain) {
|
||||
var paramsChanged = false
|
||||
|
|
Loading…
Reference in a new issue