Mark new broadcasts as new

This commit is contained in:
Mashintime 2023-06-27 16:43:52 -04:00
parent 1cb92af311
commit ed7eb4762b

View file

@ -791,7 +791,7 @@ ipcRenderer.on("action-new-msg-received", (event, arg) => {
obj.filename = "null"; obj.filename = "null";
obj.filetype = "null"; obj.filetype = "null";
obj.file = "null"; obj.file = "null";
obj.new = 0; obj.new = 1;
console.log(obj); console.log(obj);
add_obj_to_database(obj); add_obj_to_database(obj);
update_chat_obj_by_uuid(obj.uuid); update_chat_obj_by_uuid(obj.uuid);