Remove updating custom ghost info on startup

This commit is contained in:
Tulir Asokan 2023-06-09 15:43:33 +03:00
parent de487d89d0
commit 37b809e660

View file

@ -151,7 +151,6 @@ func (br *WABridge) Start() {
br.Provisioning.Init() br.Provisioning.Init()
} }
go br.CheckWhatsAppUpdate() go br.CheckWhatsAppUpdate()
go br.UpdatePuppetContactInfo()
go br.StartUsers() go br.StartUsers()
if br.Config.Metrics.Enabled { if br.Config.Metrics.Enabled {
go br.Metrics.Start() 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() { func (br *WABridge) Loop() {
for { for {
br.SleepAndDeleteUpcoming() br.SleepAndDeleteUpcoming()