mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-24 08:16:23 +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;
|
||||
} else if (_mbID == MailboxID.SENT) {
|
||||
existingMessages = _existingSentMessages;
|
||||
} else {
|
||||
}
|
||||
|
||||
if (existingMessages == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user