Browse Source

dev share

Marino Faggiana 6 years ago
parent
commit
b302a9d61e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      iOSClient/Main/CCMain.m

+ 7 - 0
iOSClient/Main/CCMain.m

@@ -1931,6 +1931,13 @@
             }
             
             [self tableViewReloadData];
+            
+        } else if (errorCode != 0) {
+            
+            if (errorCode == kOCErrorServerUnauthorized)
+                [appDelegate openLoginView:self delegate:self loginType:k_login_Modify_Password selector:k_intro_login];
+            else
+                [appDelegate messageNotification:@"_share_" description:message visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeError errorCode:errorCode];
         }
     }];