Changeset eded1f7 for protocols/jabber/jabber.c
- Timestamp:
- 2007-12-18T23:59:35Z (16 years ago)
- Branches:
- master
- Children:
- 2379566
- Parents:
- dc0ba9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
rdc0ba9c reded1f7 423 423 } 424 424 425 static void jabber_chat_invite_( struct groupchat *c, char *who, char *msg ) 426 { 427 struct jabber_chat *jc = c->data; 428 gchar *msg_alt = NULL; 429 430 if( msg == NULL ) 431 msg_alt = g_strdup_printf( "%s invited you to %s", c->ic->acc->user, jc->name ); 432 433 if( c && who ) 434 jabber_chat_invite( c, who, msg ? msg : msg_alt ); 435 436 g_free( msg_alt ); 437 } 438 425 439 static void jabber_keepalive( struct im_connection *ic ) 426 440 { … … 494 508 ret->chat_msg = jabber_chat_msg_; 495 509 ret->chat_topic = jabber_chat_topic_; 496 // ret->chat_invite = jabber_chat_invite;510 ret->chat_invite = jabber_chat_invite_; 497 511 ret->chat_leave = jabber_chat_leave_; 498 512 ret->chat_join = jabber_chat_join_;
Note: See TracChangeset
for help on using the changeset viewer.