about summary refs log tree commit diff
path: root/Utilities
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-01-12 15:27:37 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2024-01-12 15:27:37 +0100
commitc8b48da9a93bf7b28e1183d00152ebf350296b4b (patch)
tree511b527f158c1113b85350e15216906a842b8cb5 /Utilities
parentDev test bot (diff)
downloadLibMatrix-c8b48da9a93bf7b28e1183d00152ebf350296b4b.tar.xz
Synchelper: better initial sync detection
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/LibMatrix.DevTestBot/Bot/DevTestBot.cs2
-rw-r--r--Utilities/LibMatrix.DevTestBot/appsettings.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/LibMatrix.DevTestBot/Bot/DevTestBot.cs b/Utilities/LibMatrix.DevTestBot/Bot/DevTestBot.cs
index e41321a..b2f597c 100644
--- a/Utilities/LibMatrix.DevTestBot/Bot/DevTestBot.cs
+++ b/Utilities/LibMatrix.DevTestBot/Bot/DevTestBot.cs
@@ -44,6 +44,8 @@ public class DevTestBot : IHostedService {
             throw;
         }
 
+        var res = await hs.ResolveRoomAliasAsync("#watercooler:maunium.net");
+
         var syncHelper = new SyncHelper(hs);
 
         await (hs.GetRoom("!DoHEdFablOLjddKWIp:rory.gay")).JoinAsync();
diff --git a/Utilities/LibMatrix.DevTestBot/appsettings.json b/Utilities/LibMatrix.DevTestBot/appsettings.json
index 5668b53..6613979 100644
--- a/Utilities/LibMatrix.DevTestBot/appsettings.json
+++ b/Utilities/LibMatrix.DevTestBot/appsettings.json
@@ -8,6 +8,7 @@
     },
     "Bot": {
         "Homeserver": "rory.gay",
-        "AccessToken": "syt_xxxxxxxxxxxxxxxxx"
+        "AccessToken": "syt_xxxxxxxxxxxxxxxxx",
+        "Prefix": "!"
     }
 }
\ No newline at end of file