Changeset b939cff
- Timestamp:
- 2013-08-02T10:48:03Z (11 years ago)
- Branches:
- master
- Children:
- 6d9f0ba
- Parents:
- 090c9b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r090c9b7 rb939cff 435 435 ic->acc->user, ic->acc->prpl->name, iu->bu->handle, instag, 436 436 emsg, NULL, &otrmsg, OTRL_FRAGMENT_SEND_ALL, &ctx, NULL, NULL); 437 /* in libotr 4.0.0 with OTRL_FRAGMENT_SEND_ALL, otrmsg must be passed 438 * but the value it gets carries no meaning. it can be set even though 439 * the message has been injected. */ 437 440 438 441 if(emsg != msg) { 439 442 g_free(emsg); /* we're done with this one */ 440 }441 if(otrmsg) {442 /* Is this ever reached!? */443 ic->acc->prpl->buddy_msg(ic, iu->bu->handle, otrmsg, 0);444 443 } 445 444 if(st) { … … 656 655 int op_max_message_size(void *opdata, ConnContext *context) 657 656 { 657 /* libotr 4.0.0 has a bug where it doesn't set opdata */ 658 if(!opdata) { 659 /* crude fallback */ 660 return 800; 661 } 662 658 663 struct im_connection *ic = 659 664 check_imc(opdata, context->accountname, context->protocol); 660 665 661 666 return ic->acc->prpl->mms; 662 667 }
Note: See TracChangeset
for help on using the changeset viewer.