public override MessageBlock OnMessage(string room, string message) { if (!_wHolder.DoesRoomExist(room)) { return(null); } Chat chat = _wHolder.GetChatForRoom(room); chat.SendMessage(message); return(message); }
public bool OnMessage(string room, string message) { if (!_wHolder.DoesRoomExist(room)) { return(false); } Chat chat = _wHolder.GetChatForRoom(room); chat.SendMessage(message); _wHolder.GetMainWindow().AddItem(message, _skype.CurrentUser.DisplayName, room); return(true); }