1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 07:59:54 +08:00

Make IsMentioning public to allow it to be used for testing

This commit is contained in:
Craftplacer
2020-01-25 16:44:45 +01:00
Unverified
parent e0ef672549
commit f9def83552
+1 -1
View File
@@ -130,7 +130,7 @@ namespace osu.Game.Online.Chat
/// Checks if <paramref name="message"/> contains <paramref name="username"/>, if not, retries making spaces into underscores.
/// </summary>
/// <returns>If the <paramref name="message"/> mentions the <paramref name="username"/></returns>
private bool isMentioning(string message, string username)
public bool IsMentioning(string message, string username)
{
// sanitize input to handle casing
message = message.ToLower();