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:
parent
1f44d603c4
commit
b7323e3164
|
@ -194,7 +194,7 @@ const uint8_t* ToxId::getBytes() const
|
||||||
*/
|
*/
|
||||||
ToxPk ToxId::getPublicKey() const
|
ToxPk ToxId::getPublicKey() const
|
||||||
{
|
{
|
||||||
return ToxPk(toxId.mid(0, TOX_PUBLIC_KEY_SIZE));
|
return ToxPk(toxId.left(TOX_PUBLIC_KEY_SIZE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user