From cb5393c32fbb0203b76daea6da1432367e52bd07 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 15 Jun 2016 13:52:49 +0200 Subject: [PATCH] refresh UI to redraw message hint after switching to pgp --- src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index f49cd1a47..47dff7195 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -563,6 +563,7 @@ public abstract class XmppActivity extends Activity { if (conversation != null) { conversation.setNextEncryption(Message.ENCRYPTION_PGP); xmppConnectionService.databaseBackend.updateConversation(conversation); + refreshUi(); } if (onSuccess != null) { runOnUiThread(onSuccess);