1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/src/tools
Michael Vetter b88174709f Don't crash when using /plugins install disconnected
When we are not connected and run `/plugins install` we crash because we
get the account struct to check for the (xmpp) tls setting.
To apply that to the http (etc) connection to download the plugin from a
server.

This got introduced in 3a86b8c29 to fix #1624.

There are several ways to handle this (some described in 1880) in this
patch I took the route that it will use secure connection when we are
nto connected and will only check the tls.trust account setting if we
are connected.

Fix https://github.com/profanity-im/profanity/issues/1880
2023-08-28 07:55:29 +02:00
..
aesgcm_download.c Fix duplicate download IDs. 2023-03-09 15:02:26 -07:00
aesgcm_download.h Fix duplicate download IDs. 2023-03-09 15:02:26 -07:00
autocomplete.c Change char->free to auto_char char for autocleanup 2023-07-11 13:26:37 +02:00
autocomplete.h Fix quote and url autocompletion for MAM and history 2023-02-13 23:40:58 +02:00
bookmark_ignore.c Change char->free to auto_char char for autocleanup 2023-07-11 13:26:37 +02:00
bookmark_ignore.h Update copyright year 2023-01-10 10:37:25 +01:00
clipboard.c Update copyright year 2023-01-10 10:37:25 +01:00
clipboard.h Update copyright year 2023-01-10 10:37:25 +01:00
editor.c Fix memleaks & more auto-free 2023-05-12 08:39:20 +02:00
editor.h Update copyright year 2023-01-10 10:37:25 +01:00
http_common.c Add url support (downloading) to /plugins install 2023-05-16 15:57:07 +02:00
http_common.h Fix duplicate download IDs. 2023-03-09 15:02:26 -07:00
http_download.c Don't crash when using /plugins install disconnected 2023-08-28 07:55:29 +02:00
http_download.h Add url support (downloading) to /plugins install 2023-05-16 15:57:07 +02:00
http_upload.c Don't crash when using /plugins install disconnected 2023-08-28 07:55:29 +02:00
http_upload.h Update to the newest version of XEP 0363 (HTTP Upload) 2021-03-11 17:11:22 +01:00
parser.c g_free() to auto_gfree, introduce auto_guchar 2023-07-13 17:04:59 +02:00
parser.h Fix /correct quotation marks usage 2020-07-23 09:40:22 +02:00
plugin_download.c Add url support (downloading) to /plugins install 2023-05-16 15:57:07 +02:00
plugin_download.h Add url support (downloading) to /plugins install 2023-05-16 15:57:07 +02:00