diff options
author | Dave Gilbert <dave@treblig.org> | 2021-06-20 16:51:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 16:51:49 +0100 |
commit | de3f487f1d67b286914026c102dff489d84a470a (patch) | |
tree | 7d48c6e4ff30accc93c884261c525eb26abf8a20 /libmatrix.c | |
parent | 2fcd5b8f901034980616e5f719750c48f37a332f (diff) | |
parent | f8c22de413a690639574ef20dd2dcffc4e17c300 (diff) | |
download | purple-matrix-de3f487f1d67b286914026c102dff489d84a470a.tar.gz |
Merge pull request #117 from vmiklos/no-html-option
Add an option to get markdown, not HTML
Diffstat (limited to 'libmatrix.c')
-rw-r--r-- | libmatrix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmatrix.c b/libmatrix.c index 4783056..a422e0f 100644 --- a/libmatrix.c +++ b/libmatrix.c @@ -372,6 +372,10 @@ static void matrixprpl_init(PurplePlugin *plugin) _("On reconnect, skip messages which were received in a " "previous session"), PRPL_ACCOUNT_OPT_SKIP_OLD_MESSAGES, FALSE)); + protocol_options = g_list_append(protocol_options, + purple_account_option_bool_new( + _("Prefer Markdown over HTML"), + PRPL_ACCOUNT_OPT_PREFER_MARKDOWN, FALSE)); prpl_info.protocol_options = protocol_options; } |