adding some crashfixes
This commit is contained in:
parent
35bbd27d42
commit
f412f401d3
6 changed files with 16 additions and 9 deletions
|
|
@ -579,7 +579,7 @@ fun Context.getThreadId(addresses: Set<String>): Long {
|
|||
}
|
||||
|
||||
fun Context.showReceivedMessageNotification(address: String, body: String, threadID: Int, bitmap: Bitmap?) {
|
||||
val privateCursor = getMyContactsCursor().loadInBackground()
|
||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
||||
ensureBackgroundThread {
|
||||
var sender = getNameAndPhotoFromPhoneNumber(address)?.name ?: ""
|
||||
if (address == sender) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue