1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor(toxid): use left instead of mid

This commit is contained in:
noavarice 2017-09-09 22:25:39 +03:00
parent 1f44d603c4
commit b7323e3164
No known key found for this signature in database
GPG Key ID: 52A50775BE13DF17

View File

@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const
*/
ToxPk ToxId::getPublicKey() const
{
return ToxPk(toxId.mid(0, TOX_PUBLIC_KEY_SIZE));
return ToxPk(toxId.left(TOX_PUBLIC_KEY_SIZE));
}
/**