mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Exclude suggested topics from topic view web hook
This commit is contained in:
@@ -10,6 +10,7 @@ class WebHookTopicViewSerializer < TopicViewSerializer
|
||||
draft_key
|
||||
draft_sequence
|
||||
message_bus_last_id
|
||||
suggested_topics
|
||||
}.each do |attr|
|
||||
define_method("include_#{attr}?") do
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user