Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Oct 16, 2024
1 parent 111af75 commit 8b32473
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Fika.Core/Networking/Websocket/FikaNotificationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ private void WebSocket_OnMessage(object sender, MessageEventArgs e)
case EFikaNotifications.SentItem:
ReceivedSentItemNotification SentItemNotification = e.Data.ParseJsonTo<ReceivedSentItemNotification>([]);

// If we are not the target, ignore.
if (SentItemNotification.TargetId != SessionId)
{
return;
}

notificationsQueue.Enqueue(SentItemNotification);
break;
case EFikaNotifications.PushNotification:
Expand Down

0 comments on commit 8b32473

Please sign in to comment.