summaryrefslogtreecommitdiff
path: root/lib/aggiedit
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-20 17:23:27 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-20 17:23:27 -0600
commitd9943b201d98a2396d62b9a190659e2e776da019 (patch)
tree2399fe496ba6d4650f9f0c56a2b926a9235104d8 /lib/aggiedit
parent763ea5331b1977dd949c776215f2c7719f81ee9a (diff)
downloadaggiedit-d9943b201d98a2396d62b9a190659e2e776da019.tar.gz
aggiedit-d9943b201d98a2396d62b9a190659e2e776da019.zip
UI updates and fix message directioning
Diffstat (limited to 'lib/aggiedit')
-rw-r--r--lib/aggiedit/rooms/comment.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aggiedit/rooms/comment.ex b/lib/aggiedit/rooms/comment.ex
index 01f411a..2dfa98e 100644
--- a/lib/aggiedit/rooms/comment.ex
+++ b/lib/aggiedit/rooms/comment.ex
@@ -19,6 +19,6 @@ defmodule Aggiedit.Post.Comment do
end
def serialize(c) do
- %{"body" => c.comment, "user" => c.user.username, "id" => c.id, "inserted_at" => c.inserted_at}
+ %{"body" => c.comment, "user" => c.user.username, "user_id" => c.user_id, "id" => c.id, "inserted_at" => c.inserted_at}
end
end