1 files changed, 13 insertions, 0 deletions
diff --git a/MiniUtils/MiniUtilsWorker.cs b/MiniUtils/MiniUtilsWorker.cs
new file mode 100644
index 0000000..38d5aef
--- /dev/null
+++ b/MiniUtils/MiniUtilsWorker.cs
@@ -0,0 +1,13 @@
+using LibMatrix.Homeservers;
+
+namespace MiniUtils;
+
+public class MiniUtilsWorker(ILogger<MiniUtilsWorker> logger, AuthenticatedHomeserverGeneric homeserver) : IHostedService {
+ public async Task StartAsync(CancellationToken cancellationToken) {
+ logger.LogError("Logged in as {mxid}", homeserver.UserId);
+ }
+
+ public async Task StopAsync(CancellationToken cancellationToken) {
+
+ }
+}
\ No newline at end of file
|