File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Adamant/Services/DataProviders Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ extension AdamantChatsProvider {
302
302
case . failure( let error) :
303
303
switch error {
304
304
case . networkError:
305
- let getChatMessages : ( ) -> Void = {
305
+ let getChatrooms : ( ) -> Void = {
306
306
self ? . apiGetChatrooms (
307
307
address: address,
308
308
offset: offset,
@@ -312,10 +312,10 @@ extension AdamantChatsProvider {
312
312
if self ? . isConnectedToTheInternet == true {
313
313
DispatchQueue . global ( ) . asyncAfter (
314
314
deadline: . now( ) + requestRepeatDelay,
315
- execute: getChatMessages
315
+ execute: getChatrooms
316
316
)
317
317
} else {
318
- self ? . addOnConnectionToTheInternetRestored ( task: getChatMessages )
318
+ self ? . addOnConnectionToTheInternetRestored ( task: getChatrooms )
319
319
}
320
320
default :
321
321
completion ? ( nil )
You can’t perform that action at this time.
0 commit comments