Code additions/edits

This commit is contained in:
Tulir Asokan
2017-11-16 12:34:58 +02:00
parent 9d705bd5c8
commit 0388c96881
5 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class MatrixUser {
}
for (const [index, contact] of Object.entries(contacts.users)) {
const telegramUser = await this.app.getTelegramUser(contact.id)
await telegramUser.updateInfo(this.telegramPuppet, contact)
await telegramUser.updateInfo(this.telegramPuppet, contact, true)
contacts.users[index] = telegramUser
}
this.contacts = contacts.users