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();
|
fOwner->AvatarQueueCheck();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//default:
|
default:
|
||||||
// BLooper::MessageReceived(message);
|
BLooper::MessageReceived(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
@ -1058,6 +1058,10 @@ void MSNP::gotSwitchboard(MSN::SwitchboardServerConnection* conn, const void* ta
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MSNContainer* cont = (MSNContainer*) tag;
|
MSNContainer* cont = (MSNContainer*) tag;
|
||||||
|
if (cont->IsMessage()) {
|
||||||
|
fSwitchboardList.AddItem(
|
||||||
|
new pair<string, MSN::SwitchboardServerConnection*>(cont->Buddy(), conn));
|
||||||
|
}
|
||||||
conn->inviteUser(cont->Buddy());
|
conn->inviteUser(cont->Buddy());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue