python: don't raise an error if addr changes
closes #3529
...actually, I'm not sure if it is this easy. Maybe we should add some more tests if the AEAP change goes fine. What would be proper test cases?
Maybe we should add some more tests if the AEAP change goes fine. What would be proper test cases?
There already are Rust tests, so that's not that important; a simple test would be
- Alice and Bob introduce each other
- Alice changes her addr
- A sends a msg to B
- Check that B did the transition.
but again, not sure if it's necessary.
However, CI is failing; from a quick look I didn't understand why, but I can dig deeper into it if necessary.
I think it's a mailadm problem - the error message is typical for mailadm. We recently introduced better error messages for that, this looks like the old error messages... I rebased it on top of master, maybe https://github.com/deltachat/deltachat-core-rust/pull/3474 is now in this branch, and we get a different error (or none).
Ah, nginx was giving us a 502 for the mailadm request - I had a configuration error in my mailadm setup. Now it works.
assert msg_in_2.get_sender_contact().id is contact_of_1.id
this line fails in the new test
assert msg_in_2.get_sender_contact().id is contact_of_1.idthis line fails in the new test
yes - this is unexpected, right? the core should treat the old email address and the new email address as the same contact or not? So does this mean the python bindings lose this? The contacts somehow have different ids.
the core should treat the old email address and the new email address as the same contact or not?
No. The contacts are not unified, transitioning only means that the address is replaced in all verified group chats (and in broadcast lists, if the contact was verified).
This makes an awful lot of sense.
any idea what's wrong with clippy? https://github.com/deltachat/deltachat-core-rust/pull/3530/checks?check_run_id=7827685498
Clippy is broken also on master, after https://github.com/deltachat/deltachat-core-rust/pull/3551 is merged you can just rebase and it willl work again