Changeset d4bc2d9


Ignore:
Timestamp:
2010-05-16T09:46:27Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2334048
Parents:
6be46b3
Message:

Handle AIM_CAPS_ICQRTF messages (sometimes sent by certain mobile clients).
Not sure if this needs any stripping but I guess we'll find out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r6be46b3 rd4bc2d9  
    10301030                m = g_list_append(m, exch);
    10311031
    1032                 g_snprintf( txt, 1024, "Got an invitation to chatroom %s from %s: %s", name, userinfo->sn, args->msg );
     1032                g_snprintf(txt, 1024, "Got an invitation to chatroom %s from %s: %s", name, userinfo->sn, args->msg);
    10331033
    10341034                inv->ic = ic;
     
    10361036                inv->name = g_strdup(name);
    10371037               
    1038                 imcb_ask( ic, txt, inv, oscar_accept_chat, oscar_reject_chat);
     1038                imcb_ask(ic, txt, inv, oscar_accept_chat, oscar_reject_chat);
    10391039       
    10401040                if (name)
    10411041                        g_free(name);
     1042        } else if (args->reqclass & AIM_CAPS_ICQRTF) {
     1043                // TODO: constify
     1044                char *text = g_strdup(args->info.rtfmsg.rtfmsg);
     1045                imcb_buddy_msg(ic, normalize(userinfo->sn), text, 0, 0);
    10421046        }
    10431047
Note: See TracChangeset for help on using the changeset viewer.