diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-12 21:02:53 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-12 21:02:53 +0200 |
commit | 73f5a097dd4de8291aad7a312c78719f91bbbef5 (patch) | |
tree | 58c23146bd9f6615721c6637eac75f073c81a318 /src/main/java/de/pixart/messenger/ui | |
parent | b1330d0f1d89a5cdd222892e508bfdf587b8e354 (diff) |
sync roster to disk after roster push
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index 2c8d72aa0..109e0fe5f 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -873,7 +873,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke } private void hidePrepareFileToast(final Toast prepareFileToast) { - if (prepareFileToast != null) { + if (prepareFileToast != null && activity != null) { activity.runOnUiThread(prepareFileToast::cancel); } } |