contact info: omit is_bridge_bot, remove is_bot

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans 2023-04-18 10:17:55 -06:00
parent 1c1843c769
commit a7068cd75b
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -277,11 +277,9 @@ func (puppet *Puppet) UpdateContactInfo() bool {
fmt.Sprintf("tel:+%s", puppet.JID.User),
fmt.Sprintf("whatsapp:%s", puppet.JID.String()),
},
"com.beeper.bridge.remote_id": puppet.JID.String(),
"com.beeper.bridge.service": "whatsapp",
"com.beeper.bridge.network": "whatsapp",
"com.beeper.bridge.is_bridge_bot": false,
"com.beeper.bridge.is_bot": false,
"com.beeper.bridge.remote_id": puppet.JID.String(),
"com.beeper.bridge.service": "whatsapp",
"com.beeper.bridge.network": "whatsapp",
}
err := puppet.DefaultIntent().BeeperUpdateProfile(contactInfo)
if err != nil {