Changeset - 6b10147edbcd
[Not reviewed]
0 1 0
HanzZ - 12 years ago 2013-01-28 07:56:36
hanzz.k@gmail.com
replace all % to @
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/usermanager.cpp
Show inline comments
 
@@ -230,7 +230,7 @@ void UserManager::handlePresence(Swift::Presence::ref presence) {
 
				res.password = "";
 
				res.uin = presence->getFrom().getNode();
 
				res.jid = userkey;
 
				if (res.uin.find_last_of("%") != std::string::npos) { // OK
 
				while (res.uin.find_last_of("%") != std::string::npos) { // OK
 
					res.uin.replace(res.uin.find_last_of("%"), 1, "@"); // OK
 
				}
 
				if (m_storageBackend) {
0 comments (0 inline, 0 general)