Luna had been forced away the day before, having to attend an Order meeting and do some work. Hermione knew what was really happening. Dumbledore was punishing her. He knew Luna was the only friend she had left, and he deliberately took her away. Luna told Hermione she would leave the Order too, but the older witch had told her not to. She couldn’t expect Luna to leave simply because she was her friend.