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.
Currently conversation Sender and Receiver are determined by who messaged first. Thus, if
Kuba
messagesbrud
first, the Receiver for both of them will bebrud
, no matter who is logged in.Fix this and make it so the conversation is displayed nicely.
See
browser-facade/aspnetapp/Pages/Friends.cshtml
andbrowser-facade/aspnetapp/Pages/Friends.cshtml.cs
.