[Pidgin] #13185: The status of "Friends Only" in the protocol GG (Poland)

Pidgin trac at pidgin.im
Thu Mar 24 19:47:34 EDT 2011


#13185: The status of "Friends Only" in the protocol GG (Poland)
----------------------------+-----------------------------------------------
 Reporter:  shevchenko1987  |        Owner:  bartosz    
     Type:  patch           |       Status:  closed     
Milestone:                  |    Component:  Gadu-Gadu  
  Version:  2.7.9           |   Resolution:  out of date
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by rekkanoryo):

  * status:  new => closed
  * resolution:  => out of date


Old description:

> Could use a status of "only friends" in the protocol Gadu-Gadu (Poland).
> This can be achieved using a mask:
>
> {{{@@ -2204,9 +2204,9 @@ static void ggp_set_status(PurpleAccount
>         new_status = ggp_to_gg_status(status, &new_msg);
>
>         if (new_msg == NULL) {
> -               gg_change_status(info->session, new_status);
> +               gg_change_status(info->session, new_status |
> GG_STATUS_FRIENDS_MASK);
>         } else {
> -               gg_change_status_descr(info->session, new_status,
> new_msg);
> +               gg_change_status_descr(info->session, new_status |
> GG_STATUS_FRIENDS_MASK, new_msg);
>                 g_free(new_msg);
>         }
> }}}
>
> I do not know how to apply this patch.
>
> Source: http://tom000.info/blog/pidgin_i_status_tylko_dla_znajomych.html,
> Patch: http://tom000.info/share/articles/172/pidgin-2.6.1-status.diff

New description:

 Could use a status of "only friends" in the protocol Gadu-Gadu (Poland).
 This can be achieved using a mask:

 {{{
 @@ -2204,9 +2204,9 @@ static void ggp_set_status(PurpleAccount
         new_status = ggp_to_gg_status(status, &new_msg);

         if (new_msg == NULL) {
 -               gg_change_status(info->session, new_status);
 +               gg_change_status(info->session, new_status |
 GG_STATUS_FRIENDS_MASK);
         } else {
 -               gg_change_status_descr(info->session, new_status,
 new_msg);
 +               gg_change_status_descr(info->session, new_status |
 GG_STATUS_FRIENDS_MASK, new_msg);
                 g_free(new_msg);
         }
 }}}

 I do not know how to apply this patch.

 Source: http://tom000.info/blog/pidgin_i_status_tylko_dla_znajomych.html,
 Patch: http://tom000.info/share/articles/172/pidgin-2.6.1-status.diff

--

Comment:

 This patch has been superseded by another patch I committed for the 2.8.0
 release.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13185#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list