Ignore:
Timestamp:
2007-12-18T23:59:35Z (16 years ago)
Author:
kenobi <kenobi@…>
Branches:
master
Children:
2379566
Parents:
dc0ba9c
Message:

Merged in 280..288 from upstream (e.g. PING)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rdc0ba9c reded1f7  
    423423}
    424424
     425static 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
    425439static void jabber_keepalive( struct im_connection *ic )
    426440{
     
    494508        ret->chat_msg = jabber_chat_msg_;
    495509        ret->chat_topic = jabber_chat_topic_;
    496 //      ret->chat_invite = jabber_chat_invite;
     510        ret->chat_invite = jabber_chat_invite_;
    497511        ret->chat_leave = jabber_chat_leave_;
    498512        ret->chat_join = jabber_chat_join_;
Note: See TracChangeset for help on using the changeset viewer.