piolad / chat-app

3 stars 1 forks source link

[browser-facade] Sender/Receiver make the display correct #56

Closed piolad closed 1 month ago

piolad commented 1 month ago

Currently conversation Sender and Receiver are determined by who messaged first. Thus, if Kuba messages brud first, the Receiver for both of them will be brud, no matter who is logged in.

Fix this and make it so the conversation is displayed nicely.

See browser-facade/aspnetapp/Pages/Friends.cshtml and browser-facade/aspnetapp/Pages/Friends.cshtml.cs.

jakublaz commented 1 month ago

It is ready on my branch, will be uploaded with the next bigger pull request

piolad commented 1 month ago

Seems ok from 1 glance. Maybe there is no need for bigger PR, we can push it as a quick fix if you want