mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Typo when fixing #322
This commit is contained in:
parent
d684fca868
commit
0f7cb13825
2
core.cpp
2
core.cpp
|
@ -460,7 +460,7 @@ void Core::onAvatarInfoCallback(Tox*, int32_t friendnumber, uint8_t format,
|
|||
qDebug() << "Core: Got avatar info from "<<friendnumber
|
||||
<<": format "<<format;
|
||||
|
||||
if (format == TOX_AVATARFORMAT_NONE)
|
||||
if (format == TOX_AVATAR_FORMAT_NONE)
|
||||
emit static_cast<Core*>(core)->friendAvatarRemoved(friendnumber);
|
||||
else
|
||||
tox_request_avatar_data(static_cast<Core*>(core)->tox, friendnumber);
|
||||
|
|
Loading…
Reference in New Issue
Block a user