refresh UI to redraw message hint after switching to pgp

This commit is contained in:
Daniel Gultsch 2016-06-15 13:52:49 +02:00
parent 5f40a7042d
commit cb5393c32f

View file

@ -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);