mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-24 02:22:11 +02:00
feat: revert friend source spoof
This commit is contained in:
parent
420c02af64
commit
2a8f60c773
@ -1197,7 +1197,8 @@
|
|||||||
"added_by_mention": "By Mention",
|
"added_by_mention": "By Mention",
|
||||||
"added_by_group_chat": "By Group Chat",
|
"added_by_group_chat": "By Group Chat",
|
||||||
"added_by_qr_code": "By QR Code",
|
"added_by_qr_code": "By QR Code",
|
||||||
"added_by_community": "By Community"
|
"added_by_community": "By Community",
|
||||||
|
"added_by_quick_add": "By Quick Add (high risk of being banned)"
|
||||||
},
|
},
|
||||||
"bypass_video_length_restriction": {
|
"bypass_video_length_restriction": {
|
||||||
"single": "Single media",
|
"single": "Single media",
|
||||||
|
@ -58,6 +58,7 @@ class Experimental : ConfigContainer() {
|
|||||||
"added_by_group_chat",
|
"added_by_group_chat",
|
||||||
"added_by_qr_code",
|
"added_by_qr_code",
|
||||||
"added_by_community",
|
"added_by_community",
|
||||||
|
"added_by_quick_add",
|
||||||
) { addNotices(FeatureNotice.BAN_RISK) }
|
) { addNotices(FeatureNotice.BAN_RISK) }
|
||||||
val preventForcedLogout = boolean("prevent_forced_logout") { requireRestart(); addNotices(FeatureNotice.BAN_RISK, FeatureNotice.INTERNAL_BEHAVIOR); }
|
val preventForcedLogout = boolean("prevent_forced_logout") { requireRestart(); addNotices(FeatureNotice.BAN_RISK, FeatureNotice.INTERNAL_BEHAVIOR); }
|
||||||
}
|
}
|
@ -58,6 +58,10 @@ class AddFriendSourceSpoof : Feature("AddFriendSourceSpoof", loadParams = Featur
|
|||||||
setPage("profile")
|
setPage("profile")
|
||||||
setSource(FriendAddSource.COMMUNITY)
|
setSource(FriendAddSource.COMMUNITY)
|
||||||
}
|
}
|
||||||
|
"added_by_quick_add" -> {
|
||||||
|
setPage("add_friends_button_on_top_bar_on_friends_feed")
|
||||||
|
setSource(FriendAddSource.SUGGESTED)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user