Remove unused Device model item

This commit is contained in:
miruka 2020-08-19 09:46:14 -04:00
parent e303ee1fc9
commit f648807730
2 changed files with 0 additions and 14 deletions

View File

@ -2,7 +2,6 @@
- server list sorting method / explain what the % number is (stability) - server list sorting method / explain what the % number is (stability)
- spam alt+shift+a when starting app on server browser → segfault - spam alt+shift+a when starting app on server browser → segfault
- remove items.Device
- register tab for sso servers? - register tab for sso servers?
- cursor shape in HBox/HTabbedBox pages over fields - cursor shape in HBox/HTabbedBox pages over fields
- login with account already added → infinite spinner in room list - login with account already added → infinite spinner in room list

View File

@ -351,16 +351,3 @@ class Event(ModelItem):
return json.dumps(source_dict) return json.dumps(source_dict)
return super().serialize_field(field) return super().serialize_field(field)
@dataclass
class Device(ModelItem):
"""A matrix user's device. This class is currently unused."""
id: str = field()
ed25519_key: str = field()
trusted: bool = False
blacklisted: bool = False
display_name: str = ""
last_seen_ip: str = ""
last_seen_date: str = ""