Uncommented AvatarLooper::MessageReceived() code used to send unhandled message to the constructor, solved a regression that was causing fSwitchboardList to be empty.

This commit is contained in:
barrett 2012-03-07 19:24:59 +00:00
parent 75e9859517
commit 0237a48a53

View File

@ -77,8 +77,8 @@ public:
fOwner->AvatarQueueCheck();
break;
}
//default:
// BLooper::MessageReceived(message);
default:
BLooper::MessageReceived(message);
}
}
private:
@ -1058,6 +1058,10 @@ void MSNP::gotSwitchboard(MSN::SwitchboardServerConnection* conn, const void* ta
return;
MSNContainer* cont = (MSNContainer*) tag;
if (cont->IsMessage()) {
fSwitchboardList.AddItem(
new pair<string, MSN::SwitchboardServerConnection*>(cont->Buddy(), conn));
}
conn->inviteUser(cont->Buddy());
}