1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-24 16:26:45 +00:00
This fixes issue #73
existingMessages could be null because _existingInboxMessages and other variables could be null when no messages are found in the upcoming JSON file.
This commit is contained in:
Ner'zhul 2015-12-01 15:10:05 +01:00 committed by Loïc Blot
parent e6e0a97bef
commit 651cde0441

View File

@ -272,7 +272,9 @@ public class SmsFetcher {
existingMessages = _existingDraftsMessages; existingMessages = _existingDraftsMessages;
} else if (_mbID == MailboxID.SENT) { } else if (_mbID == MailboxID.SENT) {
existingMessages = _existingSentMessages; existingMessages = _existingSentMessages;
} else { }
if (existingMessages == null) {
return ""; return "";
} }