mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-24 16:26:45 +00:00
Crashfix
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:
parent
e6e0a97bef
commit
651cde0441
@ -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 "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user