Changeset 21c87a7 for protocols/nogaim.c
- Timestamp:
- 2010-04-14T09:27:50Z (14 years ago)
- Branches:
- master
- Children:
- d33679e
- Parents:
- 81186cab (diff), 156bbd7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r81186cab r21c87a7 127 127 extern void byahoo_initmodule(); 128 128 extern void jabber_initmodule(); 129 extern void twitter_initmodule(); 129 130 130 131 #ifdef WITH_MSN … … 142 143 #ifdef WITH_JABBER 143 144 jabber_initmodule(); 145 #endif 146 147 #ifdef WITH_TWITTER 148 twitter_initmodule(); 144 149 #endif 145 150 … … 560 565 } 561 566 567 void imcb_chat_name_hint( struct groupchat *c, const char *name ) 568 { 569 #if 0 570 if( !c->joined ) 571 { 572 struct im_connection *ic = c->ic; 573 char stripped[MAX_NICK_LENGTH+1], *full_name; 574 575 strncpy( stripped, name, MAX_NICK_LENGTH ); 576 stripped[MAX_NICK_LENGTH] = '\0'; 577 nick_strip( stripped ); 578 if( set_getbool( &ic->irc->set, "lcnicks" ) ) 579 nick_lc( stripped ); 580 581 full_name = g_strdup_printf( "&%s", stripped ); 582 583 if( stripped[0] && 584 nick_cmp( stripped, ic->irc->channel + 1 ) != 0 && 585 irc_chat_by_channel( ic->irc, full_name ) == NULL ) 586 { 587 g_free( c->channel ); 588 c->channel = full_name; 589 } 590 else 591 { 592 g_free( full_name ); 593 } 594 } 595 #endif 596 } 597 562 598 void imcb_chat_free( struct groupchat *c ) 563 599 { … … 623 659 if( c && u ) 624 660 { 625 irc_privmsg( ic->irc, u, "PRIVMSG", c->channel, "", wrapped ); 661 char *ts = NULL; 662 if( set_getbool( &ic->irc->set, "display_timestamps" ) ) 663 ts = format_timestamp( ic->irc, sent_at ); 664 irc_privmsg( ic->irc, u, "PRIVMSG", c->channel, ts ? : "", wrapped ); 665 g_free( ts ); 626 666 } 627 667 else … … 826 866 #endif 827 867 828 829 830 868 /* The plan is to not allow straight calls to prpl functions anymore, but do 831 869 them all from some wrappers. We'll start to define some down here: */ … … 852 890 { 853 891 char *away, *msg = NULL; 892 893 if( ic->acc->prpl->away_states == NULL || 894 ic->acc->prpl->set_away == NULL ) 895 return 0; 854 896 855 897 away = set_getstr( &ic->acc->set, "away" ) ?
Note: See TracChangeset
for help on using the changeset viewer.