Changeset 6197702 for protocols


Ignore:
Timestamp:
2010-10-09T18:41:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d150a9d
Parents:
23b29c6 (diff), 27b407f (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.
Message:

Merging OTR branch. It's more or less a plugin if you enable it, and
otherwise a no-op. DO NOT INSTALL THIS ON PUBLIC SERVERS.

Location:
protocols
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_user.c

    r23b29c6 r6197702  
    265265        }
    266266       
    267         if( ( g_strcasecmp( set_getstr( &ic->bee->set, "strip_html" ), "always" ) == 0 ) ||
    268             ( ( ic->flags & OPT_DOES_HTML ) && set_getbool( &ic->bee->set, "strip_html" ) ) )
    269                 strip_html( msg );
    270        
    271267        if( bee->ui->user_msg && bu )
    272268                bee->ui->user_msg( bee, bu, msg, sent_at );
  • protocols/jabber/jabber.c

    r23b29c6 r6197702  
    557557       
    558558        ret->name = "jabber";
     559    ret->mms = 0;                        /* no limit */
    559560        ret->login = jabber_login;
    560561        ret->init = jabber_init;
  • protocols/msn/msn.c

    r23b29c6 r6197702  
    359359       
    360360        ret->name = "msn";
     361    ret->mms = 1409;         /* this guess taken from libotr UPGRADING file */
    361362        ret->login = msn_login;
    362363        ret->init = msn_init;
  • protocols/nogaim.h

    r23b29c6 r6197702  
    6868#define OPT_TYPING      0x00000100 /* Some pieces of code make assumptions */
    6969#define OPT_THINKING    0x00000200 /* about these values... Stupid me! */
     70#define OPT_NOOTR       0x00001000 /* protocol not suitable for OTR */
    7071
    7172/* ok. now the fun begins. first we create a connection structure */
     
    142143        const char *name;
    143144        void *data;
     145        /* Maximum Message Size of this protocol.
     146         * - Introduced for OTR, in order to fragment large protocol messages.
     147         * - 0 means "unlimited". */
     148        unsigned int mms;
    144149
    145150        /* Added this one to be able to add per-account settings, don't think
  • protocols/oscar/oscar.c

    r23b29c6 r6197702  
    26122612        struct prpl *ret = g_new0(struct prpl, 1);
    26132613        ret->name = "oscar";
     2614    ret->mms = 2343;       /* this guess taken from libotr UPGRADING file */
    26142615        ret->away_states = oscar_away_states;
    26152616        ret->init = oscar_init;
  • protocols/twitter/twitter.c

    r23b29c6 r6197702  
    534534        struct prpl *ret = g_new0(struct prpl, 1);
    535535       
     536        ret->options = OPT_NOOTR;
    536537        ret->name = "twitter";
    537538        ret->login = twitter_login;
  • protocols/yahoo/yahoo.c

    r23b29c6 r6197702  
    379379        struct prpl *ret = g_new0(struct prpl, 1);
    380380        ret->name = "yahoo";
     381    ret->mms = 832;           /* this guess taken from libotr UPGRADING file */
    381382        ret->init = byahoo_init;
    382383       
Note: See TracChangeset for help on using the changeset viewer.