mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 07:53:38 +00:00
Merge pull request #330 from RyanRory/profile-picture-fix-
Fix Profile Picture Bug
This commit is contained in:
commit
a6a4c4331b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user