List global remote presets before room specific ones

This commit is contained in:
Shy 2017-03-13 14:52:29 +01:00
parent 2fff174bb2
commit 3e903d6554

View file

@ -822,7 +822,7 @@ class RemotePresets:
# Presets in "global" are available everywhere and should always be included # Presets in "global" are available everywhere and should always be included
if "global" not in rooms: if "global" not in rooms:
rooms.append("global") rooms.insert(0, "global")
req = [] req = []
for room in rooms: for room in rooms: