Changeset 41e0c00
- Timestamp:
- 2010-09-05T10:27:12Z (14 years ago)
- Branches:
- master
- Children:
- fef7813
- Parents:
- 52d63dc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
r52d63dc r41e0c00 798 798 c->ic->acc->prpl->chat_topic( c, topic ); 799 799 g_free( topic ); 800 return TRUE;801 }802 800 } 801 802 /* Whatever happened, the IM module should ack the topic change. */ 803 803 return FALSE; 804 804 } -
protocols/jabber/conference.c
r52d63dc r41e0c00 312 312 char *s; 313 313 314 if( subject && chat ) 315 { 316 s = bud ? strchr( bud->ext_jid, '/' ) : NULL; 317 if( s ) *s = 0; 318 imcb_chat_topic( chat, bud ? bud->ext_jid : NULL, subject->text_len > 0 ? 319 subject->text : NULL, jabber_get_timestamp( node ) ); 320 if( s ) *s = '/'; 321 } 322 314 323 if( bud == NULL || ( jc && ~jc->flags & JCFLAG_MESSAGE_SENT && bud == jc->me ) ) 315 324 { … … 366 375 return; 367 376 } 368 369 if( subject )370 {371 s = strchr( bud->ext_jid, '/' );372 if( s ) *s = 0;373 imcb_chat_topic( chat, bud->ext_jid, subject->text_len > 0 ?374 subject->text : NULL, jabber_get_timestamp( node ) );375 if( s ) *s = '/';376 }377 377 if( body && body->text_len > 0 ) 378 378 {
Note: See TracChangeset
for help on using the changeset viewer.