Changeset 22bf64e for protocols/nogaim.c
- Timestamp:
- 2005-12-13T23:27:58Z (18 years ago)
- Branches:
- master
- Children:
- 11e090b, 703f0f7
- Parents:
- 6aaa221 (diff), e7f46c5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r6aaa221 r22bf64e 697 697 } 698 698 699 void serv_got_typing( struct gaim_connection *gc, char *handle, int timeout )699 void serv_got_typing( struct gaim_connection *gc, char *handle, int timeout, int type ) 700 700 { 701 701 user_t *u; … … 704 704 return; 705 705 706 if( ( u = user_findhandle( gc, handle ) ) ) 707 irc_privmsg( gc->irc, u, "PRIVMSG", gc->irc->nick, NULL, "\1TYPING 1\1" ); 706 if( ( u = user_findhandle( gc, handle ) ) ) { 707 /* If type is: 708 * 0: user has stopped typing 709 * 1: user is actively typing 710 * 2: user has entered text, but is not actively typing 711 */ 712 if (type == 0 || type == 1 || type == 2) { 713 char buf[256]; 714 g_snprintf(buf, 256, "\1TYPING %d\1", type); 715 irc_privmsg( gc->irc, u, "PRIVMSG", gc->irc->nick, NULL, buf ); 716 } 717 } 708 718 } 709 719
Note: See TracChangeset
for help on using the changeset viewer.