fix unread messages divider

This commit is contained in:
PhilReact 2025-01-01 00:56:29 +02:00
parent f484411da8
commit c4d021981c

View File

@ -2069,17 +2069,17 @@ export const Group = ({
// getTimestampEnterChat(); // getTimestampEnterChat();
}, 200); }, 200);
chrome?.runtime?.sendMessage({ // chrome?.runtime?.sendMessage({
action: "addTimestampEnterChat", // action: "addTimestampEnterChat",
payload: { // payload: {
timestamp: Date.now(), // timestamp: Date.now(),
groupId: group.groupId, // groupId: group.groupId,
}, // },
}); // });
setTimeout(() => { // setTimeout(() => {
getTimestampEnterChat(); // getTimestampEnterChat();
}, 200); // }, 200);
// if (groupSectionRef.current === "announcement") { // if (groupSectionRef.current === "announcement") {
// chrome?.runtime?.sendMessage({ // chrome?.runtime?.sendMessage({