show chat history

This commit is contained in:
Oskar Thoren 2019-01-09 07:45:22 -05:00
parent 61bee76220
commit f00c382ed5
1 changed files with 5 additions and 1 deletions

View File

@ -264,7 +264,11 @@ def run(steps=4):
a.print_sync_state()
b.print_sync_state()
print a.messages
acc = "\n"
for _, msg in a.messages.items():
acc += msg.payload.message.body + "\n"
# XXX: Where is the sender stored? in msg?
print "A POV:", acc
run()