Changeset 2528cda for protocols/msn/sb.c


Ignore:
Timestamp:
2010-08-08T15:34:49Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5fecede
Parents:
b890626 (diff), ee6cc94 (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 msn-offline branch. A tiny bit of MSNP13, and it works for the first
minute of the session (after that the MSN server finds out the rest of
BitlBee still speaks MSNP8).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/sb.c

    rb890626 r2528cda  
    2929#include "passport.h"
    3030#include "md5.h"
    31 #include "invitation.h"
     31#include "soap.h"
    3232
    3333static gboolean msn_sb_callback( gpointer data, gint source, b_input_condition cond );
     
    625625                const struct msn_status_code *err = msn_status_by_number( num );
    626626               
    627                 imcb_error( ic, "Error reported by switchboard server: %s", err->text );
     627                /* If the person is offline, send an offline message instead,
     628                   and don't report an error. */
     629                if( num == 217 )
     630                        msn_soap_oim_send_queue( ic, &sb->msgq );
     631                else
     632                        imcb_error( ic, "Error reported by switchboard server: %s", err->text );
    628633               
    629634                if( err->flags & STATUS_SB_FATAL )
Note: See TracChangeset for help on using the changeset viewer.