refactor: expire msg timer

This commit is contained in:
Tristan Yang
2022-12-28 17:28:11 +08:00
parent def768b4c4
commit 2733600c3b
5 changed files with 37 additions and 18 deletions
+4 -2
View File
@@ -166,8 +166,10 @@ const Message: FC<IProps> = ({
{showExpire && (
<ExpireTimer
mid={message.mid}
expires_in={expires_in ?? 0}
create_at={time ?? 0}
context={context}
contextId={contextId}
expiresIn={expires_in ?? 0}
createAt={time ?? 0}
/>
)}
{!edit && !readOnly && (