mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-30 15:36:41 +00:00
Access all RecipientDatabase settings directly from Recipient
// FREEBIE
This commit is contained in:
@@ -624,7 +624,7 @@ public class ThreadDatabase extends Database {
|
||||
Optional<GroupRecord> groupRecord;
|
||||
|
||||
if (distributionType != DistributionTypes.ARCHIVE) {
|
||||
settings = DatabaseFactory.getRecipientDatabase(context).getRecipientPreferences(cursor);
|
||||
settings = DatabaseFactory.getRecipientDatabase(context).getRecipientSettings(cursor);
|
||||
groupRecord = DatabaseFactory.getGroupDatabase(context).getGroup(cursor);
|
||||
} else {
|
||||
settings = Optional.absent();
|
||||
|
||||
Reference in New Issue
Block a user