def wait_on_receipt(self):
        with self.condition:
            while not self.received:
                self.condition.wait()
        self.received = False
UserThread should be unread for the person receiving a message.
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/listener.py/WaitingListener.wait_on_receipt--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/DirectMessageCreateViewTest.test_recipient_thread_is_unread