aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-15 13:52:49 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-06-15 13:52:49 +0200
commitcb5393c32fbb0203b76daea6da1432367e52bd07 (patch)
tree4642e4618028cb70fd3afd400cf85bbfcd6ee51a /src/main/java/eu/siacs
parent5f40a7042dc939be05b54501fdcb949302ad11c2 (diff)
refresh UI to redraw message hint after switching to pgp
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/XmppActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
index f49cd1a4..47dff719 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);