libpurple/protocols/msn/msn.c

changeset 21101
1930e94a2028
parent 21076
bb293a21ce84
child 21106
b85fbef13eed
equal deleted inserted replaced
21100:814637ced463 21101:1930e94a2028
615 615
616 /* XXX: This is being shown in non-full tooltips because the 616 /* XXX: This is being shown in non-full tooltips because the
617 * XXX: blocked icon overlay isn't always accurate for MSN. 617 * XXX: blocked icon overlay isn't always accurate for MSN.
618 * XXX: This can die as soon as purple_privacy_check() knows that 618 * XXX: This can die as soon as purple_privacy_check() knows that
619 * XXX: this prpl always honors both the allow and deny lists. */ 619 * XXX: this prpl always honors both the allow and deny lists. */
620 if (user) 620 /* While the above comment may be strictly correct (the privacy API needs
621 * rewriteing), purple_privacy_check() is going to be more accurate at
622 * indicating whether a particular buddy is going to be able to message
623 * you, which is the important information that this is trying to convey.
624 */
625 if (full && user)
621 { 626 {
622 purple_notify_user_info_add_pair(user_info, _("Blocked"), 627 purple_notify_user_info_add_pair(user_info, _("Blocked"),
623 ((user->list_op & (1 << MSN_LIST_BL)) ? _("Yes") : _("No"))); 628 ((user->list_op & (1 << MSN_LIST_BL)) ? _("Yes") : _("No")));
624 } 629 }
625 } 630 }

mercurial