mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 18:08:33 +00:00
fix other platform can't get Android's profile picture
This commit is contained in:
@@ -528,6 +528,7 @@ public class ThreadDatabase extends Database {
|
||||
if (cursor != null && cursor.moveToFirst()) {
|
||||
return cursor.getLong(cursor.getColumnIndexOrThrow(ID));
|
||||
} else {
|
||||
DatabaseFactory.getRecipientDatabase(context).setProfileSharing(recipient, true);
|
||||
return createThreadForRecipient(recipient.getAddress(), recipient.isGroupRecipient(), distributionType);
|
||||
}
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user