From e087398f566eeb403b1b9f43b324e6bf1da42ec1 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Mon, 25 Apr 2016 01:43:36 +0300 Subject: [PATCH] fix(core): Added emit idSet after set NoSpam Fix #1680. --- src/core/core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/core.cpp b/src/core/core.cpp index 736a469b1..180b5f941 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -1210,6 +1210,8 @@ void Core::setNospam(uint32_t nospam) uint8_t *nspm = reinterpret_cast(&nospam); std::reverse(nspm, nspm + 4); tox_self_set_nospam(tox, nospam); + + emit idSet(getSelfId().toString()); } void Core::killTimers(bool onlyStop)