aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-15 13:52:49 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-19 20:02:12 +0200
commit2049593bfa141f5eb4a064d191ab8a8ee689f2ee (patch)
tree490322e8ada6fb821a1ba4005d45bac8f151e165 /src/main/java
parent0435f9278047dae73f1502e30c9978ce91ef9e96 (diff)
refresh UI to redraw message hint after switching to pgp
Diffstat (limited to '')
-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 f7e18e66c..eea0d7f32 100644
--- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
@@ -548,6 +548,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);