Fixed delay of stanca presence messages

This commit is contained in:
2021-09-23 12:34:54 +02:00
parent cbb8774382
commit 56d3ec3f90
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ func main() {
}
// Delay before sending another message
time.Sleep(time.Duration(appConfig.AppConfig.GeneralOptions.PresenceStatusDelay))
time.Sleep(time.Duration(appConfig.AppConfig.GeneralOptions.PresenceStatusDelay * 1000000000))
}