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

Pidgin trac at pidgin.im
Sun Jan 9 06:20:21 EST 2011


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

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

--

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


More information about the Tracker mailing list