Fixed error with LXMF send

This commit is contained in:
SebastianObi 2022-10-22 09:04:32 +02:00
parent b4bc35ee31
commit f2db594c29
5 changed files with 6 additions and 8 deletions

View file

@ -769,7 +769,7 @@ def mqtt_message_received_callback_send(client, userdata, message):
if message_data["date_time"] != "":
timestamp = time.mktime(datetime.datetime.strptime(message_data["date_time"], '%Y-%m-%d %H:%M:%S').timetuple())
LXMF_CONNECTION.send(message_data["destination"].strip(), content, message_data["title"].strip(), timestamp)
LXMF_CONNECTION.send(message_data["destination"].strip(), content, message_data["title"].strip(), None, timestamp)
##############################################################################################################