mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 19:08:26 +00:00
Fix for self-photo lookup bug on 2.3
This commit is contained in:
parent
6acf4ba3f6
commit
edb466ae86
@ -49,7 +49,8 @@ public class NewRecipientProvider extends RecipientProvider {
|
||||
if (cursor.moveToFirst()) {
|
||||
long rowId = cursor.getLong(0);
|
||||
Uri contactUri = Contacts.getLookupUri(rowId, cursor.getString(2));
|
||||
Bitmap contactPhoto = getContactPhoto(context, contactUri);
|
||||
Bitmap contactPhoto = getContactPhoto(context, Uri.withAppendedPath(Contacts.CONTENT_URI,
|
||||
rowId+""));
|
||||
String displayName = cursor.getString(1);
|
||||
cursor.close();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user