Changeset 5e202b0 for protocols/jabber/presence.c
- Timestamp:
- 2006-09-23T16:18:24Z (18 years ago)
- Branches:
- master
- Children:
- 172a73f1
- Parents:
- d8e0484
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/presence.c
rd8e0484 r5e202b0 54 54 } 55 55 56 /* Send the <presence/> tag that finalizes the whole login process, from here57 we'll actually show up as online to our buddies. */58 int presence_announce( struct gaim_connection *gc )59 {60 struct xt_node *node;61 int st;62 63 node = jabber_make_packet( "presence", NULL, NULL, NULL );64 65 st = jabber_write_packet( gc, node );66 67 if( st )68 account_online( gc );69 70 xt_free_node( node );71 return st;72 }73 74 56 int presence_send( struct gaim_connection *gc, char *to, char *show, char *status ) 75 57 { … … 78 60 79 61 node = jabber_make_packet( "presence", NULL, to, NULL ); 80 if( show )62 if( show && *show ) 81 63 xt_add_child( node, xt_new_node( "show", show, NULL ) ); 82 64 if( status )
Note: See TracChangeset
for help on using the changeset viewer.