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

fix(core): Added emit idSet after set NoSpam

Fix #1680.
This commit is contained in:
Diadlo 2016-04-25 01:43:36 +03:00
parent 24a7f4d519
commit e087398f56
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -1210,6 +1210,8 @@ void Core::setNospam(uint32_t nospam)
uint8_t *nspm = reinterpret_cast<uint8_t*>(&nospam);
std::reverse(nspm, nspm + 4);
tox_self_set_nospam(tox, nospam);
emit idSet(getSelfId().toString());
}
void Core::killTimers(bool onlyStop)