1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/src
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
..
command Fix spaces in /privacy description 2023-08-04 08:39:20 +02:00
config Fix my email address 2023-07-31 16:51:58 +02:00
event ox: correctly recognize ox encrypted carbons 2023-08-25 08:24:53 +02:00
omemo Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
otr g_free() to auto_gfree, introduce auto_guchar 2023-07-13 17:04:59 +02:00
pgp Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
plugins Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
tools Don't crash when using /plugins install disconnected 2023-08-28 07:55:29 +02:00
ui ox: correctly recognize ox encrypted carbons 2023-08-25 08:24:53 +02:00
xmpp Display headline sender 2023-08-11 15:56:26 +02:00
chatlog.c Fix my email address 2023-07-31 16:51:58 +02:00
chatlog.h Split log.c into log.c and chatlog.c 2022-06-28 20:08:38 +02:00
common.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
common.h Add helper function to create version string 2023-07-25 20:58:15 +02:00
database.c Fix my email address 2023-07-31 16:51:58 +02:00
database.h Fix my email address 2023-07-31 16:51:58 +02:00
log.c Fix my email address 2023-07-31 16:51:58 +02:00
log.h minor changes 2023-01-18 20:02:46 +01:00
main.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
profanity.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
profanity.h Update copyright year 2023-01-10 10:37:25 +01:00