protected override async Task OnParametersSetAsync() { await base.OnParametersSetAsync(); if (!ChatRoom.Equals(LastRoom)) { LoadingMessages = true; LastRoom = ChatRoom; RoomWatcher?.Stop(); NoMoreOldMessages = false; IsFetchingOlder = false; Messages = new List <IChatMessage>(); StartRoomWatcher(); LoadingMessages = false; } }