Browse Source

rooms and notification +

Evgeny Polivanov 2 years ago
parent
commit
962aaec6cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/main/java/com/drinkertea/test2smack/MainActivity.java

+ 1 - 1
app/src/main/java/com/drinkertea/test2smack/MainActivity.java

@@ -71,7 +71,7 @@ public class MainActivity extends AppCompatActivity {
     public void testMethod(View view) throws Exception{
         email = ETemail.getText().toString();
         password = ETpassword.getText().toString();
-        boolean isLogin = XMPPClass.XMPP_Connection("evgeny.polivanov", "Anthem3dense8Occult");
+        boolean isLogin = XMPPClass.XMPP_Connection(email, password);
 
         if (isLogin && XMPPClass.connection.getUser() != null){
             try {