Skip to content

Commit

Permalink
Add verification on thank you message.
Browse files Browse the repository at this point in the history
  • Loading branch information
C1rdec committed May 29, 2021
1 parent 023661d commit bc4ebcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Lurker.UI/ViewModels/TradebarViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@ private async void Lurker_TradeAccepted(object sender, TradeAcceptedEvent e)
var offer = this.TradeOffers.Where(t => t.Status == OfferStatus.Traded).FirstOrDefault();
if (offer == null)
{
offer = this.ActiveOffer;
var activeOffer = this.ActiveOffer;
if (activeOffer.BuyerInSameInstance)
{
offer = activeOffer;
}
}

if (offer != null)
Expand Down

0 comments on commit bc4ebcd

Please sign in to comment.