aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'vk/user.py')
-rw-r--r--vk/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vk/user.py b/vk/user.py
index c2ed623..2ec82cc 100644
--- a/vk/user.py
+++ b/vk/user.py
@@ -164,7 +164,8 @@ class User(Hashable, MutableMapping):
self._fields = fields
def __eq__(self, other):
- return self._fields == other._fields
+ return self.get_uid() == other.get_uid()
+ #return self._fields == other._fields
def __hash__(self, fields=None):
return hash(self.get_uid())