Bug Summary
passing -e 1234 to main.py fails with:
line 100, in build_chat_for_given_id_or_phone_number
exec = msgdb_cursor.execute(query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: no such column: None
Because the chat_id is None in:
query = f"""SELECT message._id FROM 'message' WHERE message.chat_row_id={chat.get("chat_id")}"""
Bug Summary passing
-e 1234
to main.py fails with:Because the
chat_id
is None in:query = f"""SELECT message._id FROM 'message' WHERE message.chat_row_id={chat.get("chat_id")}"""
I don't need the phone filter though ;-)