Browse Source

fix(core): Added emit idSet after set NoSpam

Fix #1680.
pull/3191/head
Diadlo 9 years ago
parent
commit
e087398f56
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
  1. 2
      src/core/core.cpp

2
src/core/core.cpp

@ -1210,6 +1210,8 @@ void Core::setNospam(uint32_t nospam) @@ -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)

Loading…
Cancel
Save