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:
parent
75e9859517
commit
0237a48a53
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue