[PATCH] Ignoring "Has You" and "You're not in contact list" messages.

3 views
Skip to first unread message

neto.d...@gmail.com

unread,
Jan 6, 2011, 9:59:06 PM1/6/11
to msn-...@googlegroups.com, Demétrio
From: Demétrio <neto.d...@gmail.com>

---
msn.c | 7 ++++---
session.c | 3 ++-
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/msn.c b/msn.c
index cbd210d..1b657fd 100644
--- a/msn.c
+++ b/msn.c
@@ -730,9 +730,10 @@ tooltip_text (PurpleBuddy *buddy,
purple_notify_user_info_add_pair (user_info, _("Working"), user->media.title);
}
}
-
- purple_notify_user_info_add_pair (user_info, _("Has you"),
- ((user->list_op & (1 << MSN_LIST_RL)) ? _("Yes") : _("No")));
+
+ //Server bug, looks like they won't fix it
+ //purple_notify_user_info_add_pair (user_info, _("Has you"),
+ // ((user->list_op & (1 << MSN_LIST_RL)) ? _("Yes") : _("No")));
}

purple_notify_user_info_add_pair (user_info, _("Blocked"),
diff --git a/session.c b/session.c
index eeb9b39..25d1435 100644
--- a/session.c
+++ b/session.c
@@ -64,7 +64,8 @@ conversation_created_cb (PurpleConversation *conv, gpointer data)

if (contact && !(contact->list_op & (1 << MSN_LIST_RL)))
{
- str = g_strdup_printf (_("You are not in %s's contact list."), friendly_name);
+ //Server bug, it's see they won't fix.
+ //str = g_strdup_printf (_("You are not in %s's contact list."), friendly_name);

purple_conversation_write (conv, NULL, str, PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NOTIFY, time (NULL));

--
1.7.2.2

neto.d...@gmail.com

unread,
Jan 6, 2011, 9:59:05 PM1/6/11
to msn-...@googlegroups.com, Demétrio
From: Demétrio <neto.d...@gmail.com>

*** BLURB HERE ***

Demétrio (1):
Ignoring "Has You" and "You're not in contact list" messages.

msn.c | 7 ++++---
session.c | 3 ++-
2 files changed, 6 insertions(+), 4 deletions(-)

--
1.7.2.2

Felipe Contreras

unread,
Jan 7, 2011, 7:51:43 AM1/7/11
to neto.d...@gmail.com, msn-...@googlegroups.com
On Fri, Jan 7, 2011 at 4:59 AM, <neto.d...@gmail.com> wrote:
> From: Demétrio <neto.d...@gmail.com>
>
> *** BLURB HERE ***

You need to replace *** SUBJECT HERE *** and *** BLURB HERE ***.

--
Felipe Contreras

Demétrio Neto

unread,
Jan 7, 2011, 5:14:29 AM1/7/11
to msn-pecan
Sorry for the title, its a patch for ignore the Has You and "You're
not in friend contact list" information.

On 6 jan, 23:59, neto.demet...@gmail.com wrote:
> From: Demétrio <neto.demet...@gmail.com>
Reply all
Reply to author
Forward
0 new messages