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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user