~singpolyma/cheogram-android

fd039fe0e9f6c7354304593e4040bc1a334af34b — Stephen Paul Weber 1 year, 5 months ago 1106595
Fix NPE
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/parser/MessageParser.java
M src/main/java/eu/siacs/conversations/parser/MessageParser.java => src/main/java/eu/siacs/conversations/parser/MessageParser.java +1 -1
@@ 893,7 893,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece

            final HttpConnectionManager manager = this.mXmppConnectionService.getHttpConnectionManager();
            if (message.getRelativeFilePath() == null && message.trusted() && message.treatAsDownloadable() && manager.getAutoAcceptFileSize() > 0) {
                if (message.getOob() != null && message.getOob().getScheme().equalsIgnoreCase("cid")) {
                if (message.getOob() != null && "cid".equalsIgnoreCase(message.getOob().getScheme())) {
                    try {
                        BobTransfer transfer = new BobTransfer.ForMessage(message, mXmppConnectionService);
                        message.setTransferable(transfer);