mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
refresh AvatarData when receiving identity data
This commit is contained in:
parent
2777ad0397
commit
7100f44927
1 changed files with 3 additions and 0 deletions
|
@ -1495,6 +1495,9 @@ void AvatarData::processAvatarIdentity(const Identity& identity, bool& identityC
|
||||||
setAvatarEntityData(identity.avatarEntityData);
|
setAvatarEntityData(identity.avatarEntityData);
|
||||||
identityChanged = true;
|
identityChanged = true;
|
||||||
}
|
}
|
||||||
|
// flag this avatar as non-stale by updating _averageBytesReceived
|
||||||
|
const int BOGUS_NUM_BYTES = 1;
|
||||||
|
_averageBytesReceived.updateAverage(BOGUS_NUM_BYTES);
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray AvatarData::identityByteArray() const {
|
QByteArray AvatarData::identityByteArray() const {
|
||||||
|
|
Loading…
Reference in a new issue