diff --git a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs index ccdeea53..2ad35e32 100644 --- a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs @@ -545,7 +545,7 @@ public class MainWindowViewModel : MyReactiveObject { NoticeManager.Instance.SendMessage(msg); } - NoticeManager.Instance.Enqueue(Utils.List2String(msgs)); + NoticeManager.Instance.Enqueue(Utils.List2String(msgs.Take(10).ToList(), true)); BlReloadEnabled = true; return; } diff --git a/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs b/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs index ecc83a6a..bf9c4dbf 100644 --- a/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs @@ -776,7 +776,7 @@ public class ProfilesViewModel : MyReactiveObject { NoticeManager.Instance.SendMessage(msg); } - NoticeManager.Instance.Enqueue(Utils.List2String(msgs)); + NoticeManager.Instance.Enqueue(Utils.List2String(msgs.Take(10).ToList(), true)); return; }