Skip to content

Commit

Permalink
app: prevent stale conversation items in conversation view
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero authored and sssoleileraaa committed Jun 1, 2019
1 parent 06bbb55 commit 66e3956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,7 @@ def update_conversation(self, collection: list) -> None:
self.clear_conversation()
# add new items
for conversation_item in collection:
self.controller.session.refresh(conversation_item)
if conversation_item.filename.endswith('msg.gpg'):
self.add_message(conversation_item)
elif conversation_item.filename.endswith('reply.gpg'):
Expand Down

0 comments on commit 66e3956

Please sign in to comment.