mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
Set contact ID in ContactsChanged on modification
This commit is contained in:
committed by
link2xt
parent
332a387c98
commit
fe1c99c5e8
@@ -1750,6 +1750,8 @@ class TestOnlineAccount:
|
||||
# Explicitly rename contact on ac2 to "Renamed"
|
||||
ac2.create_contact(contact, name="Renamed")
|
||||
assert contact.name == "Renamed"
|
||||
ev = ac2._evtracker.get_matching("DC_EVENT_CONTACTS_CHANGED")
|
||||
assert ev.data1 == contact.id
|
||||
|
||||
# ac1 also renames itself into "Renamed"
|
||||
assert update_name() == "Renamed"
|
||||
|
||||
Reference in New Issue
Block a user