mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Stript out certain characters when sending a pushover message #2385
This commit is contained in:
parent
77a1bf5c78
commit
ce79fec216
4 changed files with 37 additions and 5 deletions
|
@ -75,5 +75,10 @@ namespace Ombi.Helpers
|
|||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static string StripCharacters(this string str, params char[] chars)
|
||||
{
|
||||
return string.Concat(str.Where(c => !chars.Contains(c)));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue