aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/chat/message_reference.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-07 14:25:30 +0200
committerlain <lain@soykaf.club>2020-06-07 14:25:30 +0200
commit1a11f0e453527070a8ab5511318045470abc95e2 (patch)
tree2eeea851de5cf8df7112f6d5ed99eac8412ad3a7 /lib/pleroma/chat/message_reference.ex
parent0365053c8dbbcae4a4883f68b7eaec263c14f656 (diff)
downloadpleroma-1a11f0e453527070a8ab5511318045470abc95e2.tar.gz
Chats: Change id to flake id.
Diffstat (limited to 'lib/pleroma/chat/message_reference.ex')
-rw-r--r--lib/pleroma/chat/message_reference.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/chat/message_reference.ex b/lib/pleroma/chat/message_reference.ex
index 4b201db2e..7ee7508ca 100644
--- a/lib/pleroma/chat/message_reference.ex
+++ b/lib/pleroma/chat/message_reference.ex
@@ -21,7 +21,7 @@ defmodule Pleroma.Chat.MessageReference do
schema "chat_message_references" do
belongs_to(:object, Object)
- belongs_to(:chat, Chat)
+ belongs_to(:chat, Chat, type: FlakeId.Ecto.CompatType)
field(:unread, :boolean, default: true)