diff --git a/src/userregistration.cpp b/src/userregistration.cpp index cb512f8a24ef43ceb5170be0efcea234fc8abf1d..ef390afac3aa63fd0c32bd8d176c93286e4d1650 100644 --- a/src/userregistration.cpp +++ b/src/userregistration.cpp @@ -509,6 +509,7 @@ bool UserRegistration::handleSetRequest(const Swift::JID& from, const Swift::JID res.language = language; res.encoding = encoding; res.vip = 0; + res.id = 0; registerUser(res); } else {