mirror of
https://github.com/Jetsparrow/jetherald.git
synced 2026-01-21 07:56:09 +03:00
missed ChatId on replace
This commit is contained in:
parent
7b0ef9a8e1
commit
34cd67e440
@ -146,7 +146,7 @@ namespace JetHerald
|
||||
{
|
||||
using var c = GetConnection();
|
||||
return c.QueryAsync<ExpiredTopicChat>(
|
||||
" SELECT tc.ChatId, tc.Service, t.Description, t.ExpiryTime" +
|
||||
" SELECT tc.Chat, tc.Service, t.Description, t.ExpiryTime" +
|
||||
" FROM topic_chat tc" +
|
||||
" INNER JOIN topic t ON t.TopicId = tc.TopicId" +
|
||||
" WHERE t.ExpiryTime < CURRENT_TIMESTAMP() AND NOT t.ExpiryMessageSent",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user