mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-09-15 08:20:18 +03:00
use quote_policy for settings
This commit is contained in:
parent
4bcbd3679d
commit
2c33952e17
2 changed files with 5 additions and 5 deletions
|
@ -528,7 +528,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
|
|||
visibility = Helper.getCurrentAccount(ComposeActivity.this).mastodon_account.source.privacy;
|
||||
}
|
||||
if (quote_approval_policy == null && Helper.getCurrentAccount(ComposeActivity.this) != null && Helper.getCurrentAccount(ComposeActivity.this).mastodon_account != null && Helper.getCurrentAccount(ComposeActivity.this).mastodon_account.source != null) {
|
||||
quote_approval_policy = Helper.getCurrentAccount(ComposeActivity.this).mastodon_account.source.quote_authorizations;
|
||||
quote_approval_policy = Helper.getCurrentAccount(ComposeActivity.this).mastodon_account.source.quote_policy;
|
||||
}
|
||||
|
||||
if(setMentionBooster) {
|
||||
|
|
|
@ -22,8 +22,8 @@ import java.util.List;
|
|||
public class Source implements Serializable {
|
||||
@SerializedName("privacy")
|
||||
public String privacy;
|
||||
@SerializedName("quote_authorizations")
|
||||
public String quote_authorizations;
|
||||
@SerializedName("quote_policy")
|
||||
public String quote_policy;
|
||||
@SerializedName("sensitive")
|
||||
public boolean sensitive;
|
||||
@SerializedName("language")
|
||||
|
@ -38,8 +38,8 @@ public class Source implements Serializable {
|
|||
public static class SourceParams implements Serializable {
|
||||
@SerializedName("privacy")
|
||||
public String privacy;
|
||||
@SerializedName("quote_authorizations")
|
||||
public String quote_authorizations;
|
||||
@SerializedName("quote_policy")
|
||||
public String quote_policy;
|
||||
@SerializedName("sensitive")
|
||||
public boolean sensitive;
|
||||
@SerializedName("language")
|
||||
|
|
Loading…
Reference in a new issue