💾 Archived View for idiomdrottning.org › lurch-omemo.patch captured on 2024-06-16 at 12:19:47.
-=-=-=-=-=-=-
diff -uNr bitlbee-3.6/protocols/purple/purple.c bitlbee-3.6-lurch-omemo/protocols/purple/purple.c --- bitlbee-3.6/protocols/purple/purple.c 2019-02-07 20:53:38.000000000 +0100 +++ bitlbee-3.6-lurch-omemo/protocols/purple/purple.c 2024-06-08 09:31:20.426173754 +0200 @@ -301,6 +301,15 @@ s->flags |= SET_HIDDEN; } + if (g_strcmp0(prpl->info->id, "prpl-jabber") == 0) { + log_message(LOGLVL_INFO, "try to find lurch for OMEMO support on jabber"); + PurplePlugin *lurch_prpl = purple_plugins_find_with_id("core-riba-lurch"); + if (lurch_prpl) { + log_message(LOGLVL_INFO, "load lurch plugin"); + purple_plugin_load(lurch_prpl); + } + } + /* Go through all away states to figure out if away/status messages are possible. */ pa = purple_account_new(acc->user, prpl_id);