Skip to content

Commit

Permalink
fix: no events recorded for dm destinations on the first launch (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pallab Maiti authored Aug 21, 2023
1 parent ffe7699 commit f49398c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Classes/Client/RSClient+Plugins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ extension RSClient {

switch result {
case .success(let serverConfig):
self.update(serverConfig: serverConfig, type: .refresh)
self.serverConfig = serverConfig
self.update(serverConfig: serverConfig, type: .refresh)
RSUserDefaults.saveServerConfig(serverConfig)
RSUserDefaults.updateLastUpdatedTime(RSUtils.getTimeStamp())
self.log(message: "server config download successful", logLevel: .debug)
Expand Down

0 comments on commit f49398c

Please sign in to comment.