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
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:.gracePremium).startStandalone()
1893
+
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:ServerProvidedSuggestion.gracePremium.id).startStandalone()
1894
1894
case.setupPhoto:
1895
-
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:.setupPhoto).startStandalone()
1895
+
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:ServerProvidedSuggestion.setupPhoto.id).startStandalone()
1896
1896
case.starsSubscriptionLowBalance:
1897
-
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:.starsSubscriptionLowBalance).startStandalone()
1897
+
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion:ServerProvidedSuggestion.starsSubscriptionLowBalance.id).startStandalone()
1898
+
caselet.link(id, _, _, _):
1899
+
let _ =self.context.engine.notices.dismissServerProvidedSuggestion(suggestion: id).startStandalone()
1898
1900
default:
1899
1901
break
1900
1902
}
@@ -2063,7 +2065,7 @@ public final class ChatListNode: ListView {
2063
2065
return lhs < rhs
2064
2066
}
2065
2067
2066
-
if dismissedSuggestions.contains(.todayBirthdays){
2068
+
if dismissedSuggestions.contains(ServerProvidedSuggestion.todayBirthdays.id){
2067
2069
todayBirthdayPeerIds =[]
2068
2070
}
2069
2071
@@ -2147,20 +2149,15 @@ public final class ChatListNode: ListView {
0 commit comments