mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: webhook should touch channel’s last_message_sent_at (#19342)
This commit is contained in:
@ -110,7 +110,6 @@ class Chat::ChatController < Chat::ChatBaseController
|
||||
|
||||
return render_json_error(chat_message_creator.error) if chat_message_creator.failed?
|
||||
|
||||
@chat_channel.touch(:last_message_sent_at)
|
||||
@user_chat_channel_membership.update(last_read_message_id: chat_message_creator.chat_message.id)
|
||||
|
||||
if @chat_channel.direct_message_channel?
|
||||
|
Reference in New Issue
Block a user