Remove unused Device model item
This commit is contained in:
parent
e303ee1fc9
commit
f648807730
1
TODO.md
1
TODO.md
|
@ -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
|
||||||
|
|
|
@ -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 = ""
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user