Changeset 9624fdf for protocols/jabber


Ignore:
Timestamp:
2007-04-17T04:49:17Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
33dc261
Parents:
717e3bf
Message:

API cleanup pretty much complete. Fixed pretty much everything except the
buddy/groupchat related functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/message.c

    r717e3bf r9624fdf  
    7676               
    7777                if( fullmsg->len > 0 )
    78                         serv_got_im( ic, bud ? bud->bare_jid : from, fullmsg->str, 0, 0, fullmsg->len );
     78                        imcb_buddy_msg( ic, bud ? bud->bare_jid : from, fullmsg->str, 0, 0 );
    7979               
    8080                g_string_free( fullmsg, TRUE );
     
    8484                {
    8585                        bud->flags |= JBFLAG_DOES_XEP85;
    86                         serv_got_typing( ic, bud ? bud->bare_jid : from, 0, 1 );
     86                        imcb_buddy_typing( ic, bud ? bud->bare_jid : from, OPT_TYPING );
    8787                }
    8888                /* No need to send a "stopped typing" signal when there's a message. */
     
    9090                {
    9191                        bud->flags |= JBFLAG_DOES_XEP85;
    92                         serv_got_typing( ic, bud ? bud->bare_jid : from, 0, 0 );
     92                        imcb_buddy_typing( ic, bud ? bud->bare_jid : from, 0 );
    9393                }
    9494                else if( xt_find_node( node->children, "paused" ) )
    9595                {
    9696                        bud->flags |= JBFLAG_DOES_XEP85;
    97                         serv_got_typing( ic, bud ? bud->bare_jid : from, 0, 2 );
     97                        imcb_buddy_typing( ic, bud ? bud->bare_jid : from, OPT_THINKING );
    9898                }
    9999               
Note: See TracChangeset for help on using the changeset viewer.