refresh UI to redraw message hint after switching to pgp
This commit is contained in:
parent
5f40a7042d
commit
cb5393c32f
|
@ -563,6 +563,7 @@ public abstract class XmppActivity extends Activity {
|
||||||
if (conversation != null) {
|
if (conversation != null) {
|
||||||
conversation.setNextEncryption(Message.ENCRYPTION_PGP);
|
conversation.setNextEncryption(Message.ENCRYPTION_PGP);
|
||||||
xmppConnectionService.databaseBackend.updateConversation(conversation);
|
xmppConnectionService.databaseBackend.updateConversation(conversation);
|
||||||
|
refreshUi();
|
||||||
}
|
}
|
||||||
if (onSuccess != null) {
|
if (onSuccess != null) {
|
||||||
runOnUiThread(onSuccess);
|
runOnUiThread(onSuccess);
|
||||||
|
|
Loading…
Reference in New Issue