forked from mirror/monocles_chat
Fix NPE (Cheogram)
This commit is contained in:
parent
bd3f9388f0
commit
9e73098635
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class WebxdcPage implements ConversationPage {
|
|||
File f = xmppConnectionService.getFileForCid(cid);
|
||||
try {
|
||||
if (f != null) zip = new ZipFile(xmppConnectionService.getFileForCid(cid));
|
||||
final ZipEntry manifestEntry = zip.getEntry("manifest.toml");
|
||||
final ZipEntry manifestEntry = zip == null ? null : zip.getEntry("manifest.toml");
|
||||
if (manifestEntry != null) {
|
||||
manifest = Toml.parse(zip.getInputStream(manifestEntry));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue