aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/msn/sb.c')
-rw-r--r--protocols/msn/sb.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index e9526234..920e7f61 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -28,6 +28,7 @@
#include "msn.h"
#include "passport.h"
#include "md5.h"
+#include "soap.h"
static gboolean msn_sb_callback( gpointer data, gint source, b_input_condition cond );
static int msn_sb_command( gpointer data, char **cmd, int num_parts );
@@ -605,6 +606,17 @@ static int msn_sb_command( gpointer data, char **cmd, int num_parts )
int num = atoi( cmd[0] );
const struct msn_status_code *err = msn_status_by_number( num );
+ if( num == 217 )
+ {
+ GSList *l;
+
+ for( l = sb->msgq; l; l = l->next )
+ {
+ struct msn_message *m = l->data;
+ msn_soap_oim_send( ic, m->who, m->text );
+ }
+ }
+
imcb_error( ic, "Error reported by switchboard server: %s", err->text );
if( err->flags & STATUS_SB_FATAL )