예제 #1
0
		private void OnLoggedIn(User user)
		{
		}
예제 #2
0
		private void OnAuthorAdded(User author, ChatRoom room, User by)
		{
			var chatRoom = _chatRooms.First(r => r.Room == room);

			chatRoom
				.Users
				.Add(author);

			chatRoom.Messages.Add(new ChatMessage
			{
				Body = LocalizedStrings.Str3209Params.Put(author.Name),
				CreationDate = TimeHelper.Now,
			});
		}
예제 #3
0
		private void OnLoggedOut(User user)
		{
		}