def deleteMessage(self,messageIndex):
        self.lock.acquire()
        messageEntry = self.arrayOfMessages[messageIndex]
        if messageEntry:
            messageEntry._deleted = True
            self.deletedMessageCount += 1
            if len(self.arrayOfMessages) > messageIndex+1:
                for i in self.arrayOfMessages[messageIndex+1:]:
                    i._tableRow -= 1
        self.lock.release()

    # NOTE: If this method is unused, probably remove it?
dataset/ETHPy150Open SecurityInnovation/AuthMatrix/AuthMatrix.py/MatrixDB.deleteMessage/original