FIX: Chat threads N1 (#22322)

Followup to 1526d1f97d

This commit fixes an N1 for mentions/user status
when querying chat threads. This only happened if
any of the thread OMs had mentions.
This commit is contained in:
Martin Brennan
2023-06-28 15:41:51 +10:00
committed by GitHub
parent 0d1d707213
commit 41ebbab4ff
2 changed files with 35 additions and 1 deletions

View File

@@ -132,8 +132,10 @@ module Chat
original_message_user: :user_status,
original_message: [
:chat_webhook_event,
:chat_mentions,
:chat_channel,
chat_mentions: {
user: :user_status,
},
user: :user_status,
],
)