when first looking at a folder, look at "uid_next" as returned from server

and otherwise properly fetch the last messages to determine the last seen uid.
also add some tracing.
This commit is contained in:
holger krekel
2019-11-30 01:11:42 +01:00
parent 12187f3176
commit db22992ede
2 changed files with 26 additions and 31 deletions

View File

@@ -794,6 +794,7 @@ class TestOnlineAccount:
chat2 = ac2.qr_join_chat(qr)
assert chat2.id >= 10
wait_securejoin_inviter_progress(ac1, 1000)
ac1._evlogger.get_matching("DC_EVENT_SECUREJOIN_MEMBER_ADDED")
lp.sec("ac2: read member added message")
msg = ac2.wait_next_incoming_message()