Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit dee8e5f

Browse files
authored
Update views.py
1 parent 90c6b6d commit dee8e5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

capstone/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ def chat(request, id):
228228
all_messages.append(message.serialize())
229229
user_data = []
230230
for person in thisroom.members.all():
231-
user_data.append(person)
231+
key = Publickey.objects.get(user=person)
232+
user_data.append(key)
232233
return render(request, "capstone/chat.html",{
233234
"messages": all_messages,
234235
"user_data": user_data

0 commit comments

Comments
 (0)