Update MyLocations to not send rename request if unchanged

This commit is contained in:
Ryan Huffman 2014-07-01 15:29:13 -07:00
parent 50b13c99a7
commit 9953fd6d2b

View file

@ -31,7 +31,7 @@ UserLocation::UserLocation(QString id, QString name, QString location) :
}
void UserLocation::requestRename(const QString& newName) {
if (!_updating) {
if (!_updating && newName.toLower() != _name) {
_updating = true;
JSONCallbackParameters callbackParams;