Group reply mode (placeholder)

This commit is contained in:
SillyLossy
2023-04-06 00:02:56 +03:00
parent 8548d4ca47
commit 60d64bb67e
3 changed files with 85 additions and 0 deletions

View File

@@ -519,6 +519,15 @@ function select_group_chats(chat_id) {
});
$("#rm_group_filter").val("").trigger("input");
$('input[name="rm_group_activation_strategy"]').off();
$('input[name="rm_group_activation_strategy"]').on("input", async function(e) {
if (chat_id) {
group.activation_strategy = Number(e.target.value);
await editGroup(chat_id);
}
});
$(`input[name="rm_group_activation_strategy"][value="${Number(group?.activation_strategy ?? 0 )}"]`).prop('checked', true);
selectRightMenuWithAnimation('rm_group_chats_block');
async function memberClickHandler(event) {