👔 Optimize subscriptions logic

This commit is contained in:
2025-10-16 13:13:08 +08:00
parent f01226d91a
commit 7f8521bb40
3 changed files with 14 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ public class AutocompletionService(AppDatabase db, AccountClientHelper accountsH
var afterAt = content[1..];
string type;
string query;
bool hadSlash = afterAt.Contains('/');
var hadSlash = afterAt.Contains('/');
if (hadSlash)
{
var parts = afterAt.Split('/', 2);