diff --git a/src/lib/strings/helpers.ts b/src/lib/strings/helpers.ts index ca77c46663..7cbf2f1e20 100644 --- a/src/lib/strings/helpers.ts +++ b/src/lib/strings/helpers.ts @@ -93,7 +93,7 @@ export function augmentSearchQuery(query: string, {did}: {did?: string}) { return splits .map((str, idx) => { if (idx % 2 === 0) { - return str.replaceAll(/(^|\s)from:me(\s|$)/g, `$1${did}$2`) + return str.replaceAll(/(^|\s)from:@?me(\s|$)/g, `$1${did}$2`) } return str