forked from MirrorHub/mautrix-whatsapp
Remove updating custom ghost info on startup
This commit is contained in:
parent
de487d89d0
commit
37b809e660
1 changed files with 0 additions and 9 deletions
9
main.go
9
main.go
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue