On Fri, Jun 08, 2012 at 11:05:04AM +0200, Stefan Sperling wrote:
> For some reason https is disabled for identi.ca with this plugin
> even though it seems to work just fine when allowed via configuration.
> 
> Patch submitted upstream:
> http://code.google.com/p/microblog-purple/issues/detail?id=260
> 
> ok?

OK with me, but please add the above link in the patch before committing it.
 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/microblog-purple/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile  16 Sep 2011 11:13:38 -0000      1.6
> +++ Makefile  8 Jun 2012 08:14:47 -0000
> @@ -7,7 +7,7 @@ COMMENT=      Twitter, Identica, and Status.n
>  VERSION=     0.3.0
>  DISTNAME=    mbpurple-${VERSION}
>  PKGNAME=     microblog-purple-${VERSION}
> -REVISION=    2
> +REVISION=    3
>  CATEGORIES=  net
>  
>  HOMEPAGE=    http://microblog-purple.googlecode.com/
> Index: patches/patch-microblog_identica_c
> ===================================================================
> RCS file: patches/patch-microblog_identica_c
> diff -N patches/patch-microblog_identica_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-microblog_identica_c        8 Jun 2012 08:14:21 -0000
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +--- microblog/identica.c.orig        Fri Jun  8 10:12:36 2012
> ++++ microblog/identica.c     Fri Jun  8 10:13:29 2012
> +@@ -155,7 +155,9 @@ gboolean plugin_load(PurplePlugin *plugin)
> +      * No HTTPS for Identi.ca for now
> +      */
> +     _mb_conf[TC_USE_HTTPS].conf = g_strdup("use_https");
> +-    _mb_conf[TC_USE_HTTPS].def_bool = FALSE;
> ++    _mb_conf[TC_USE_HTTPS].def_bool = TRUE;
> ++    option = purple_account_option_bool_new(_("Use HTTPS"), 
> _mb_conf[TC_USE_HTTPS].conf, _mb_conf[TC_USE_HTTPS].def_bool);
> ++    prpl_info->protocol_options = 
> g_list_append(prpl_info->protocol_options, option);
> +     
> +     _mb_conf[TC_STATUS_UPDATE].conf = g_strdup("status_update");
> +     _mb_conf[TC_STATUS_UPDATE].def_str = 
> g_strdup("/api/statuses/update.xml");
> 

-- 
Cheers,
Jasper

"Stay Hungry. Stay Foolish"

Reply via email to