Skip to content

Commit

Permalink
Fix build 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitschlag committed Jul 11, 2024
1 parent c503145 commit 6d3a564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DcCore/DcCore/DC/events.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public class DcEventHandler {
])
}
case DC_EVENT_MSGS_CHANGED:
guard accountId == dcAccounts.getSelected().id { return }
guard accountId == dcAccounts.getSelected().id else { return }

logger.info("📡[\(accountId)] msgs changed: \(data1), \(data2)")
DispatchQueue.main.async {
NotificationCenter.default.post(name: .messageChanged, object: nil, userInfo: [
Expand Down

0 comments on commit 6d3a564

Please sign in to comment.