From aa85f831fc42d71143699a46dd0175c897e4c1dc Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Mon, 8 Jul 2019 17:20:12 -0700 Subject: [PATCH] app: redraw entire ConversationView when source is changed fix to #467 #463 --- securedrop_client/gui/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index ebc318958..1122987de 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -637,6 +637,9 @@ def on_source_changed(self): # else we create it. try: conversation_wrapper = self.source_conversations[source] + + # Redraw the conversation view such that new messages, replies, files appear. + conversation_wrapper.conversation_view.update_conversation(source.collection) except KeyError: conversation_wrapper = SourceConversationWrapper(source, self.controller) self.source_conversations[source] = conversation_wrapper