summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/util/handlers/Message.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index b5e237af..2ff56a7a 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -114,6 +114,7 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> { } if (!ephermal) { channel.last_message_id = message.id; + channel.save(); } if (cloudAttachments && cloudAttachments.length > 0) {