예제 #1
0
 public void removeParticipantFromThread(VerseMessageThread vmt)
 {
     long user_id = us.user_profile.id;
     if (vmt.getParticipant(user_id) != null)
     {
         VerseMessageParticipant vmp = vmt.getParticipant(user_id);
         ParticipantTask pt = new ParticipantTask(us, vmp);
         //TODO change this not to be done in thread.
         pt.RemoveParticipantFromThread();
         VerseThreadManager.getInstance().removeParticipant(vmt, vmp);
     }
 }