mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 05:32:57 +08:00
4f1a6b4688
I managed to do this by accident three times today while testing using the dashboard display, so it's time to action on it. Touched on in https://github.com/ppy/osu/discussions/30740#discussioncomment-11345996. Was also mentioned recently in discord or another discussion explicitly but I can't find that.
24 lines
617 B
C#
24 lines
617 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
namespace osu.Game.Online.Chat
|
|
{
|
|
public enum LinkWarnMode
|
|
{
|
|
/// <summary>
|
|
/// Will show a dialog when opening a URL that is not on a trusted domain.
|
|
/// </summary>
|
|
Default,
|
|
|
|
/// <summary>
|
|
/// Will always show a dialog when opening a URL.
|
|
/// </summary>
|
|
AlwaysWarn,
|
|
|
|
/// <summary>
|
|
/// Will never show a dialog when opening a URL.
|
|
/// </summary>
|
|
NeverWarn,
|
|
}
|
|
}
|