|
|
|
@ -225,7 +225,7 @@ void StatisticsContact::commonStatsCheck(const TQString name, TQString& statVar1
|
|
|
|
|
*
|
|
|
|
|
* Then it is only a question of some calculations.
|
|
|
|
|
*
|
|
|
|
|
* <li>Recalculate the average message lenght
|
|
|
|
|
* <li>Recalculate the average message length
|
|
|
|
|
*
|
|
|
|
|
* <li>Change last-talk datetime
|
|
|
|
|
* </ul>
|
|
|
|
@ -248,7 +248,7 @@ void StatisticsContact::newMessageReceived(Kopete::Message& m)
|
|
|
|
|
m_lastMessageReceived = currentDateTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Message lenght
|
|
|
|
|
// Message length
|
|
|
|
|
m_messageLength= (m.plainBody().length() + m_messageLength * m_messageLengthOn)/(1 + m_messageLengthOn);
|
|
|
|
|
m_messageLengthOn++;
|
|
|
|
|
|
|
|
|
|