Mercurial > pidgin.yaz
changeset 24132:eeccedae4de5
Patch from Maiku to allow replying to a mobile contact that isn't on
your buddy list.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 28 Sep 2008 07:50:00 +0000 |
parents | dbb87be4d9b6 |
children | 3f4b6162995f |
files | libpurple/protocols/msn/msn.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Sat Sep 27 23:06:00 2008 +0000 +++ b/libpurple/protocols/msn/msn.c Sun Sep 28 07:50:00 2008 +0000 @@ -1135,6 +1135,13 @@ session = gc->proto_data; swboard = msn_session_find_swboard(session, who); + if (!strncmp("tel:+", who, 5)) { + char *text = purple_markup_strip_html(message); + send_to_mobile(gc, who, text); + g_free(text); + return 1; + } + if (buddy) { PurplePresence *p = purple_buddy_get_presence(buddy); if (purple_presence_is_status_primitive_active(p, PURPLE_STATUS_MOBILE)) {