- Timestamp:
- 2010-09-05T12:08:12Z (14 years ago)
- Branches:
- master
- Children:
- 2c6b0f4
- Parents:
- 4e1be76 (diff), ed320e8 (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. - Location:
- protocols
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/conference.c
r4e1be76 r975708a 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 { -
protocols/jabber/jabber.h
r4e1be76 r975708a 59 59 JBFLAG_IS_ANONYMOUS = 8, /* For anonymous chatrooms, when we don't have 60 60 have a real JID. */ 61 JBFLAG_HIDE_SUBJECT = 16, /* Hide the subject field since we probably 62 showed it already. */ 61 63 } jabber_buddy_flags_t; 62 64 -
protocols/jabber/message.c
r4e1be76 r975708a 93 93 } 94 94 } 95 else if( ( c = xt_find_node( node->children, "subject" ) ) && c->text_len > 0 ) 95 else if( ( c = xt_find_node( node->children, "subject" ) ) && c->text_len > 0 && 96 ( !bud || !( bud->flags & JBFLAG_HIDE_SUBJECT ) ) ) 96 97 { 97 98 g_string_append_printf( fullmsg, "<< \002BitlBee\002 - Message with subject: %s >>\n", c->text ); 99 if( bud ) 100 bud->flags |= JBFLAG_HIDE_SUBJECT; 101 } 102 else if( bud && !c ) 103 { 104 /* Yeah, possibly we're hiding changes to this field now. But nobody uses 105 this for anything useful anyway, except GMail when people reply to an 106 e-mail via chat, repeating the same subject all the time. I don't want 107 to have to remember full subject strings for everyone. */ 108 bud->flags &= ~JBFLAG_HIDE_SUBJECT; 98 109 } 99 110 -
protocols/oscar/oscar.c
r4e1be76 r975708a 517 517 /* Incorrect nick/password */ 518 518 imcb_error(ic, _("Incorrect nickname or password.")); 519 { 520 int max = od->icq ? 8 : 16; 521 if (strlen(ic->acc->pass) > max) 522 imcb_log(ic, "Note that the maximum password " 523 "length supported by this protocol is " 524 "%d characters, try logging in using " 525 "a shorter password.", max); 526 } 519 527 // plugin_event(event_error, (void *)980, 0, 0, 0); 520 528 break; -
protocols/oscar/ssi.c
r4e1be76 r975708a 415 415 if (!parentgroup) { 416 416 char *newgroup; 417 newgroup = (char*)g_malloc(strlen("Unknown") *sizeof(char));417 newgroup = (char*)g_malloc(strlen("Unknown")+1); 418 418 strcpy(newgroup, "Unknown"); 419 419 aim_ssi_addgroups(sess, conn, &newgroup, 1); -
protocols/twitter/twitter.c
r4e1be76 r975708a 195 195 s = set_add( &acc->set, "message_length", "140", set_eval_int, acc ); 196 196 197 s = set_add( &acc->set, "mode", " one", set_eval_mode, acc );197 s = set_add( &acc->set, "mode", "chat", set_eval_mode, acc ); 198 198 s->flags |= ACC_SET_OFFLINE_ONLY; 199 199
Note: See TracChangeset
for help on using the changeset viewer.