get_text_content -> get_body_text

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-29 12:06:49 +01:00
parent 6ba616dbc1
commit 662533b279
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 9 additions and 9 deletions

View file

@ -137,7 +137,7 @@ def temp_gpg_context():
async def import_keys(ui):
ui.notify('Looking for keys in message...')
m = ui.current_buffer.get_selected_message()
content = m.get_text_content()
content = m.get_body_text()
attachments = m.get_attachments()
inline = _get_inline_keys(content)
attached = _get_attached_keys(attachments)

View file

@ -16,17 +16,17 @@ in {
"control k" = "call hooks.attach_recipient_keys(ui)";
};
search = {
"t t" = "tag todo; untag inbox";
"t g" = "tag doing; untag todo,blocked,inbox";
"t b" = "tag blocked; untag todo,doing,inbox";
"t d" = "tag done; untag todo,doing,blocked,inbox";
"'T t'" = "tag todo; untag inbox";
"'T g'" = "tag doing; untag todo,blocked,inbox";
"'T b'" = "tag blocked; untag todo,doing,inbox";
"'T d'" = "tag done; untag todo,doing,blocked,inbox";
};
thread = {
k = "call hooks.import_keys(ui)";
"T t" = "tag todo; untag inbox";
"T g" = "tag doing; untag todo,blocked,inbox";
"T b" = "tag blocked; untag todo,doing,inbox";
"T d" = "tag done; untag todo,doing,blocked,inbox";
"'T t'" = "tag todo; untag inbox";
"'T g'" = "tag doing; untag todo,blocked,inbox";
"'T b'" = "tag blocked; untag todo,doing,inbox";
"'T d'" = "tag done; untag todo,doing,blocked,inbox";
};
};
settings = {