Changeset 09f7ec1
- Timestamp:
- 2015-10-21T11:40:11Z (9 years ago)
- Branches:
- master
- Children:
- 3314ced
- Parents:
- 2b0c05c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r2b0c05c r09f7ec1 441 441 442 442 /* don't do OTR on certain (not classic IM) protocols, e.g. twitter */ 443 if (ic->acc->prpl->options & OPT_NOOTR) { 443 if (ic->acc->prpl->options & OPT_NOOTR || 444 iu->bu->flags & BEE_USER_NOOTR) { 444 445 return msg; 445 446 } … … 479 480 480 481 /* don't do OTR on certain (not classic IM) protocols, e.g. twitter */ 481 if (ic->acc->prpl->options & OPT_NOOTR) { 482 if (ic->acc->prpl->options & OPT_NOOTR || 483 iu->bu->flags & BEE_USER_NOOTR) { 482 484 return msg; 483 485 } -
protocols/bee.h
r2b0c05c r09f7ec1 62 62 BEE_USER_LOCAL = 256, /* Locally-added contacts (not in real contact list) */ 63 63 BEE_USER_SPECIAL = 512, /* Denotes a user as being special */ 64 BEE_USER_NOOTR = 4096, /* Per-user version of OPT_NOOTR */ 64 65 } bee_user_flags_t; 65 66
Note: See TracChangeset
for help on using the changeset viewer.