fb12c7e202
* feature/more.events * keep mapping.user as the creator * cleanup cruft and include slack notifs * capture topic and synapse updates, store the old values * avoid the mapping gets deleted problem * include an indicator of which values changed * style cleanup * remove the hack in favor of a legit way * updated schema file
7 lines
288 B
Ruby
7 lines
288 B
Ruby
# frozen_string_literal: true
|
|
class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
|
|
def text
|
|
"*#{eventable.name}* was added by *#{event.user.name}* to the map *#{view_map_on_metamaps}*"
|
|
end
|
|
# TODO: it would be sweet if it sends it with the metacode as the icon_url
|
|
end
|