fix some longer standing nonsense code that sent to misleading MSG_READ events instead of one correct one

This commit is contained in:
holger krekel
2019-08-08 19:57:51 +02:00
parent 447d3c3416
commit a749aee247
2 changed files with 4 additions and 3 deletions

View File

@@ -421,7 +421,9 @@ class TestOnlineAccount:
lp.sec("mark message as seen on ac2, wait for changes on ac1")
ac2.mark_seen_messages([msg_in])
lp.step("1")
ac1._evlogger.get_matching("DC_EVENT_MSG_READ")
ev = ac1._evlogger.get_matching("DC_EVENT_MSG_READ")
assert ev[1] >= const.DC_CHAT_ID_LAST_SPECIAL
assert ev[2] >= const.DC_MSG_ID_LAST_SPECIAL
lp.step("2")
assert msg_out.is_out_mdn_received()