---
title: "Roman Poroshin (@makeiteasy) | Hashnode"
description: "Roman Poroshin (@makeiteasy) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@makeiteasy"
---

@makeiteasy

# Roman Poroshin

@makeiteasy · Joined September 2024

## Comments

[Ok, I figured this out, there's an error in the code. The message creation code should belong in the receive method rather than chat\_message. Otherwise the same message is created for each chat participant with the sender always being the recipient. Took me some time to figure this out, hope it helps someone else.](https://hashnode.com/posts/building-chat-apis-with-django-rest-framework-and-django-channels/612b7bf1fd0bf8636d76d78e/comment/66f2757feb3c145b1ad301b7#reply-66f2d27871092318dc86524b)

Reply · Article · Sep 24, 2024 · [Building Chat APIs with Django rest framework and Django Channels](https://hashnode.com/posts/building-chat-apis-with-django-rest-framework-and-django-channels/612b7bf1fd0bf8636d76d78e)

[Hey there, thanks for the article! I have one issue with that, why do the messages end up duplicated with different sender IDs: one with the actual sender and the other is with the participant?](https://hashnode.com/posts/building-chat-apis-with-django-rest-framework-and-django-channels/612b7bf1fd0bf8636d76d78e/comment/66f2757feb3c145b1ad301b7)

Comment · Article · Sep 24, 2024 · [Building Chat APIs with Django rest framework and Django Channels](https://hashnode.com/posts/building-chat-apis-with-django-rest-framework-and-django-channels/612b7bf1fd0bf8636d76d78e)
