aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vk/user.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/vk/user.py b/vk/user.py
index 36d4dec..6261683 100644
--- a/vk/user.py
+++ b/vk/user.py
@@ -44,7 +44,6 @@ class UserField(Enum):
DOMAIN = 'domain'
ONLINE = 'online'
LAST_SEEN = 'last_seen'
- SCREEN_NAME = 'screen_name'
def __str__(self):
return self.value
@@ -183,15 +182,3 @@ class User(Hashable, MutableMapping):
def get_last_seen_platform(self):
return self[UserField.LAST_SEEN].get_platform()
-
- def has_screen_name(self):
- return UserField.SCREEN_NAME in self
-
- def get_screen_name(self):
- if self.has_screen_name():
- return self[UserField.SCREEN_NAME]
- else:
- return 'id' + str(self.get_uid())
-
- def set_screen_name(self, name):
- self[UserField.SCREEN_NAME] = name