Revert "[CORE] Avoid the old "reply" relation in inboxnoticestream"
It is needed for mentions.
This commit is contained in:
parent
024f5fe3a8
commit
e8f5e34202
@ -105,8 +105,7 @@ class RawInboxNoticeStream extends FullNoticeStream
|
|||||||
FROM notice INNER JOIN subscription
|
FROM notice INNER JOIN subscription
|
||||||
ON notice.profile_id = subscription.subscribed
|
ON notice.profile_id = subscription.subscribed
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT reply.id, notice.profile_id
|
SELECT notice_id, profile_id FROM reply
|
||||||
FROM notice AS reply INNER JOIN notice ON reply.reply_to = notice.id
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT notice_id, profile_id FROM attention
|
SELECT notice_id, profile_id FROM attention
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user