parent
aafb2a406f
commit
330f883938
@ -26,7 +26,6 @@ import java.util.List;
|
|||||||
|
|
||||||
import cn.hutool.core.util.ArrayUtil;
|
import cn.hutool.core.util.ArrayUtil;
|
||||||
import tw.nekomimi.nekogram.NekoXConfig;
|
import tw.nekomimi.nekogram.NekoXConfig;
|
||||||
import xyz.nextalone.nagram.NaConfig;
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public class TLRPC {
|
public class TLRPC {
|
||||||
@ -38986,7 +38985,7 @@ public class TLRPC {
|
|||||||
deactivated = (flags & 32) != 0;
|
deactivated = (flags & 32) != 0;
|
||||||
call_active = (flags & 8388608) != 0;
|
call_active = (flags & 8388608) != 0;
|
||||||
call_not_empty = (flags & 16777216) != 0;
|
call_not_empty = (flags & 16777216) != 0;
|
||||||
noforwards = (flags & 33554432) != 0 && !NaConfig.INSTANCE.getDisableNoforwards().Bool();
|
noforwards = (flags & 33554432) != 0;
|
||||||
id = stream.readInt64(exception);
|
id = stream.readInt64(exception);
|
||||||
title = stream.readString(exception);
|
title = stream.readString(exception);
|
||||||
photo = ChatPhoto.TLdeserialize(stream, stream.readInt32(exception), exception);
|
photo = ChatPhoto.TLdeserialize(stream, stream.readInt32(exception), exception);
|
||||||
@ -39267,7 +39266,7 @@ public class TLRPC {
|
|||||||
call_not_empty = (flags & 16777216) != 0;
|
call_not_empty = (flags & 16777216) != 0;
|
||||||
fake = (flags & 33554432) != 0;
|
fake = (flags & 33554432) != 0;
|
||||||
gigagroup = (flags & 67108864) != 0;
|
gigagroup = (flags & 67108864) != 0;
|
||||||
noforwards = (flags & 134217728) != 0 && !NaConfig.INSTANCE.getDisableNoforwards().Bool();
|
noforwards = (flags & 134217728) != 0;
|
||||||
id = stream.readInt64(exception);
|
id = stream.readInt64(exception);
|
||||||
if ((flags & 8192) != 0) {
|
if ((flags & 8192) != 0) {
|
||||||
access_hash = stream.readInt64(exception);
|
access_hash = stream.readInt64(exception);
|
||||||
@ -55189,7 +55188,7 @@ public class TLRPC {
|
|||||||
legacy = (flags & 524288) != 0;
|
legacy = (flags & 524288) != 0;
|
||||||
edit_hide = (flags & 2097152) != 0;
|
edit_hide = (flags & 2097152) != 0;
|
||||||
pinned = (flags & 16777216) != 0;
|
pinned = (flags & 16777216) != 0;
|
||||||
noforwards = (flags & 67108864) != 0 && !NaConfig.INSTANCE.getDisableNoforwards().Bool();
|
noforwards = (flags & 67108864) != 0;
|
||||||
id = stream.readInt32(exception);
|
id = stream.readInt32(exception);
|
||||||
if ((flags & 256) != 0) {
|
if ((flags & 256) != 0) {
|
||||||
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
||||||
@ -55372,7 +55371,7 @@ public class TLRPC {
|
|||||||
legacy = (flags & 524288) != 0;
|
legacy = (flags & 524288) != 0;
|
||||||
edit_hide = (flags & 2097152) != 0;
|
edit_hide = (flags & 2097152) != 0;
|
||||||
pinned = (flags & 16777216) != 0;
|
pinned = (flags & 16777216) != 0;
|
||||||
noforwards = (flags & 67108864) != 0 && !NaConfig.INSTANCE.getDisableNoforwards().Bool();
|
noforwards = (flags & 67108864) != 0;
|
||||||
id = stream.readInt32(exception);
|
id = stream.readInt32(exception);
|
||||||
if ((flags & 256) != 0) {
|
if ((flags & 256) != 0) {
|
||||||
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
||||||
|
@ -90,7 +90,6 @@ public class NekoExperimentalSettingsActivity extends BaseFragment {
|
|||||||
|
|
||||||
private final AbstractConfigCell header2 = cellGroup.appendCell(new ConfigCellHeader(LocaleController.getString("N_Config")));
|
private final AbstractConfigCell header2 = cellGroup.appendCell(new ConfigCellHeader(LocaleController.getString("N_Config")));
|
||||||
private final AbstractConfigCell forceCopyRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getForceCopy()));
|
private final AbstractConfigCell forceCopyRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getForceCopy()));
|
||||||
private final AbstractConfigCell disableNoforwardsRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getDisableNoforwards()));
|
|
||||||
private final AbstractConfigCell audioEnhanceRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getNoiseSuppressAndVoiceEnhance()));
|
private final AbstractConfigCell audioEnhanceRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getNoiseSuppressAndVoiceEnhance()));
|
||||||
private final AbstractConfigCell showRPCErrorRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getShowRPCError()));
|
private final AbstractConfigCell showRPCErrorRow = cellGroup.appendCell(new ConfigCellTextCheck(NaConfig.INSTANCE.getShowRPCError()));
|
||||||
private final AbstractConfigCell divider1 = cellGroup.appendCell(new ConfigCellDivider());
|
private final AbstractConfigCell divider1 = cellGroup.appendCell(new ConfigCellDivider());
|
||||||
@ -493,4 +492,4 @@ public class NekoExperimentalSettingsActivity extends BaseFragment {
|
|||||||
return new RecyclerListView.Holder(view);
|
return new RecyclerListView.Holder(view);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -162,11 +162,6 @@ object NaConfig {
|
|||||||
ConfigItem.configTypeBool,
|
ConfigItem.configTypeBool,
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
val DisableNoforwards = addConfig(
|
|
||||||
"DisableNoforwards",
|
|
||||||
ConfigItem.configTypeBool,
|
|
||||||
false
|
|
||||||
)
|
|
||||||
val DateOfForwardedMsg = addConfig(
|
val DateOfForwardedMsg = addConfig(
|
||||||
"DateOfForwardedMsg",
|
"DateOfForwardedMsg",
|
||||||
ConfigItem.configTypeBool,
|
ConfigItem.configTypeBool,
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
<string name="CreateMonoLanguage">等宽语言</string>
|
<string name="CreateMonoLanguage">等宽语言</string>
|
||||||
<string name="CodeSyntaxHighlightDetails">感谢 prismjs and Nekogram</string>
|
<string name="CodeSyntaxHighlightDetails">感谢 prismjs and Nekogram</string>
|
||||||
<string name="UseSystemUnlock">锁定码解锁使用系统界面</string>
|
<string name="UseSystemUnlock">锁定码解锁使用系统界面</string>
|
||||||
<string name="DisableNoforwards">禁用转发限制</string>
|
|
||||||
<string name="CopyPhoto">复制图片</string>
|
<string name="CopyPhoto">复制图片</string>
|
||||||
<string name="PhotoCopied">图片已复制到剪贴板</string>
|
<string name="PhotoCopied">图片已复制到剪贴板</string>
|
||||||
<string name="ToTheBeginning">回到顶部</string>
|
<string name="ToTheBeginning">回到顶部</string>
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
<string name="CreateMonoLanguage">Code language</string>
|
<string name="CreateMonoLanguage">Code language</string>
|
||||||
<string name="CodeSyntaxHighlightDetails">Thanks to prismjs and Nekogram</string>
|
<string name="CodeSyntaxHighlightDetails">Thanks to prismjs and Nekogram</string>
|
||||||
<string name="UseSystemUnlock">Passcode Unlock use system ui</string>
|
<string name="UseSystemUnlock">Passcode Unlock use system ui</string>
|
||||||
<string name="DisableNoforwards">Disable noforwards</string>
|
|
||||||
<string name="CopyPhoto">Copy Photo</string>
|
<string name="CopyPhoto">Copy Photo</string>
|
||||||
<string name="PhotoCopied">Photo copied to Clipboard</string>
|
<string name="PhotoCopied">Photo copied to Clipboard</string>
|
||||||
<string name="ToTheBeginning">To the beginning</string>
|
<string name="ToTheBeginning">To the beginning</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user