Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Just normalising whitespace, thanks @r10s!

Co-authored-by: bjoern <r10s@b44t.com>
  • Loading branch information
zeitschlag and r10s committed Aug 9, 2024
1 parent 7797b5d commit f474dbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DcCore/DcCore/DC/events.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public class DcEventHandler {
NotificationCenter.default.post(name: Event.chatModified, object: nil, userInfo: [
"chat_id": Int(data1),
])

case DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED:
if accountId != dcAccounts.getSelected().id {
return
Expand Down Expand Up @@ -155,7 +156,7 @@ public class DcEventHandler {
return
}
logger.info("📡[\(accountId)] connectivity changed")
NotificationCenter.default.post(name: Event.connectivityChanged, object: nil)
NotificationCenter.default.post(name: Event.connectivityChanged, object: nil)

case DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE:
if let sem = dcAccounts.fetchSemaphore {
Expand Down

0 comments on commit f474dbf

Please sign in to comment.