private void teacherStatusRequest(object sender, TeacherStatusRequestEventArgs e) { if (e.status.Conversation == Globals.conversationDetails.Jid && Globals.isAuthor) { client.SendTeacherStatus(new TeacherStatus { Joining = true, Teacher = Globals.me, Conversation = Globals.conversationDetails.Jid, Slide = Globals.location.currentSlide.ToString() }); } }
private void teacherStatusReceived(object sender, TeacherStatusRequestEventArgs e) { Commands.ReceiveTeacherStatus.Execute(e.status); }