fdrop snotes

This commit is contained in:
Eric Mertens 2025-01-30 13:36:18 -08:00
parent 206b4c9d89
commit 15c48ab1dc
2 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,9 @@ enum class SnoteTag
CreateChannel,
DisconnectingKlined,
DroppedChannel,
DroppedNick,
DroppedNickRename,
DroppedAccount,
FailedChallenge,
FailedChallengeFingerprintMismatch,
FailedChallengeHostMismatch,

View File

@ -104,6 +104,15 @@ const SnotePattern static patterns[] = {
{SnoteTag::DroppedChannel,
"^\x02([^ ]+)\x02 dropped the channel \x02([^ ]+)\x02$"},
{SnoteTag::DroppedAccount,
"^\x02([^ ]+)\x02 dropped the account \x02([^ ]+)\x02$"},
{SnoteTag::DroppedNick,
"^\x02([^ ]+)\x02 dropped the nick \x02([^ ]+)\x02 from ([^ ]+)$"},
{SnoteTag::DroppedNickRename,
"^\x02([^ ]+)\x02 dropped the nick \x02([^ ]+)\x02 from ([^ ]+), changing account name to \x02([^ ]+)\x02$"},
{SnoteTag::Spambot,
R"(^User ([^ ]+) \(([^ ]+)@([^ ]+)\) trying to join ([^ ]+) is a possible spambot$)"},