mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-06-15 01:18:31 +02:00
Remove updating custom ghost info on startup
This commit is contained in:
parent
de487d89d0
commit
37b809e660
9
main.go
9
main.go
|
@ -151,7 +151,6 @@ func (br *WABridge) Start() {
|
|||
br.Provisioning.Init()
|
||||
}
|
||||
go br.CheckWhatsAppUpdate()
|
||||
go br.UpdatePuppetContactInfo()
|
||||
go br.StartUsers()
|
||||
if br.Config.Metrics.Enabled {
|
||||
go br.Metrics.Start()
|
||||
|
@ -182,14 +181,6 @@ func (br *WABridge) CheckWhatsAppUpdate() {
|
|||
}
|
||||
}
|
||||
|
||||
func (br *WABridge) UpdatePuppetContactInfo() {
|
||||
for _, puppet := range br.GetAllPuppets() {
|
||||
if puppet.UpdateContactInfo() {
|
||||
puppet.Update()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (br *WABridge) Loop() {
|
||||
for {
|
||||
br.SleepAndDeleteUpcoming()
|
||||
|
|
Loading…
Reference in a new issue