mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
ui: Change the name of the Users dbus class.
This commit is contained in:
parent
daacd340f9
commit
8f57e42c2c
@ -110,7 +110,7 @@ class Devices(dbus.service.Object):
|
||||
}
|
||||
|
||||
|
||||
class Users(dbus.service.Object):
|
||||
class Control(dbus.service.Object):
|
||||
def __init__(self, bus_name, user_list=None):
|
||||
super().__init__(bus_name, "/org/pantalaimon/Control")
|
||||
self.users = user_list
|
||||
@ -139,7 +139,7 @@ def glib_loop(receive_queue, send_queue, data_dir):
|
||||
devices = store.load_all_devices()
|
||||
|
||||
# TODO update bus data if the asyncio thread tells us so.
|
||||
Users(bus_name, users)
|
||||
Control(bus_name, users)
|
||||
device_bus = Devices(bus_name, send_queue, devices)
|
||||
|
||||
def message_callback():
|
||||
|
Loading…
Reference in New Issue
Block a user