QTfrontend/newnetclient.cpp
changeset 4897 11598e7aa7e6
parent 4879 55f939e2c19c
child 4908 99d6797b7ff4
equal deleted inserted replaced
4896:972d418057a7 4897:11598e7aa7e6
   274         {
   274         {
   275             qWarning("Net: Empty CHAT message");
   275             qWarning("Net: Empty CHAT message");
   276             return;
   276             return;
   277         }
   277         }
   278         if (netClientState == 2)
   278         if (netClientState == 2)
   279             emit chatStringLobby(HWProto::formatChatMsg(lst[1], lst[2]));
   279             emit chatStringLobby(lst[1], HWProto::formatChatMsgForFrontend(lst[2]));
   280         else
   280         else
   281             emit chatStringFromNet(HWProto::formatChatMsg(lst[1], lst[2]));
   281             emit chatStringFromNet(HWProto::formatChatMsg(lst[1], lst[2]));
   282         return;
   282         return;
   283     }
   283     }
   284 
   284 
   416                 RawSendNet(QString("LIST"));
   416                 RawSendNet(QString("LIST"));
   417                 emit Connected();
   417                 emit Connected();
   418             }
   418             }
   419 
   419 
   420             emit nickAddedLobby(lst[i], false);
   420             emit nickAddedLobby(lst[i], false);
   421             emit chatStringLobby(tr("%1 *** %2 has joined").arg('\x03').arg(lst[i]));
   421             emit chatStringLobby(lst[i], tr("%1 *** %2 has joined").arg('\x03').arg("|nick|"));
   422         }
   422         }
   423         return;
   423         return;
   424     }
   424     }
   425 
   425 
   426     if(lst[0] == "LEFT") {
   426     if(lst[0] == "LEFT") {