I'd rather prefer "Contact is typing..." than "Buddy is typing...".

This commit is contained in:
plfiorini 2010-05-30 22:00:40 +00:00
parent b172d6fb20
commit ea78353c09

View File

@ -113,23 +113,23 @@ void
ChatWindow::ImMessage(BMessage* msg) ChatWindow::ImMessage(BMessage* msg)
{ {
int32 im_what = msg->FindInt32("im_what"); int32 im_what = msg->FindInt32("im_what");
switch (im_what) { switch (im_what) {
case IM_MESSAGE_RECEIVED: case IM_MESSAGE_RECEIVED:
{ {
BString message = msg->FindString("body"); BString message = msg->FindString("body");
fReceiveView->AppendOtherMessage(message.String()); fReceiveView->AppendOtherMessage(message.String());
// Message received, clear status anyway // Message received, clear status anyway
fStatus->SetText(""); fStatus->SetText("");
break; break;
} }
case IM_CONTACT_STARTED_TYPING: case IM_CONTACT_STARTED_TYPING:
fStatus->SetText("Buddy is typing ..."); fStatus->SetText("Contact is typing...");
break; break;
case IM_CONTACT_STOPPED_TYPING: case IM_CONTACT_STOPPED_TYPING:
fStatus->SetText(""); fStatus->SetText("");
break; break;
default: default:
break; break;
} }