Changeset deff040 for protocols/jabber/presence.c
- Timestamp:
- 2006-09-21T19:48:17Z (18 years ago)
- Branches:
- master
- Children:
- 5997488
- Parents:
- 5bcf70a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/presence.c
r5bcf70a rdeff040 54 54 } 55 55 56 /* Send the <presence/> tag that finalizes the whole login process, from here 57 we'll actually show up as online to our buddies. */ 56 58 int presence_announce( struct gaim_connection *gc ) 57 59 { … … 69 71 return st; 70 72 } 73 74 int presence_send( struct gaim_connection *gc, char *to, char *show, char *status ) 75 { 76 struct xt_node *node; 77 int st; 78 79 node = jabber_make_packet( "presence", NULL, to, NULL ); 80 if( show ) 81 xt_add_child( node, xt_new_node( "show", show, NULL ) ); 82 if( status ) 83 xt_add_child( node, xt_new_node( "status", status, NULL ) ); 84 85 st = jabber_write_packet( gc, node ); 86 87 xt_free_node( node ); 88 return st; 89 }
Note: See TracChangeset
for help on using the changeset viewer.