Merge branch 'develop' of gitssh.ihatebeinga.live:IHBAGang/pleroma into develop
[akkoma] / lib / pleroma / elasticsearch / document_mappings / hashtag.ex
1 defmodule Pleroma.Elasticsearch.DocumentMappings.Hashtag do
2 def id(obj), do: obj.id
3
4 def encode(hashtag) do
5 %{
6 hashtag: hashtag.name,
7 timestamp: hashtag.inserted_at
8 }
9 end
10 end