You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wire-ios-request-strategy/Sources/Notifications/Push Notifications/Notification Types/Content/ZMLocalNotification+Events.swift
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
// along with this program. If not, see http://www.gnu.org/licenses/.
17
17
//
18
18
19
+
import Foundation
19
20
import WireDataModel
20
21
21
22
publicextensionZMLocalNotification{
@@ -191,6 +192,17 @@ private class ConversationCreateEventNotificationBuilder: EventNotificationBuild
191
192
LocalNotificationType.event(.conversationCreated)
192
193
}
193
194
195
+
overridefunc shouldCreateNotification()->Bool{
196
+
if conversation ==nil{
197
+
// WPB-8946: fixes bug: notifications shown even though availability is busy or away
0 commit comments