Changeset 71f87ba for protocols/jabber


Ignore:
Timestamp:
2015-04-05T22:47:15Z (10 years ago)
Author:
dequis <dx@…>
Children:
1522faf
Parents:
9dc67f4
Message:

Adapt old subprotocol checks to the last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/sasl.c

    r9dc67f4 r71f87ba  
    7575
    7676        want_oauth = set_getbool(&ic->acc->set, "oauth");
    77         want_hipchat = (jd->subproto == JSUB_HIPCHAT);
     77        want_hipchat = (jd->flags & JFLAG_HIPCHAT);
    7878
    7979        mechs = g_string_new("");
     
    421421                jd->flags |= JFLAG_AUTHENTICATED | JFLAG_STREAM_RESTART;
    422422
    423                 if (jd->subproto == JSUB_HIPCHAT) {
     423                if (jd->flags & JFLAG_HIPCHAT) {
    424424                        return hipchat_handle_success(ic, node);
    425425                }
Note: See TracChangeset for help on using the changeset viewer.