mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
remove logging
so the actions are not triggered when PeriodicWorkRequests are created. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
6f302c25c4
commit
f582525fef
@ -230,14 +230,10 @@ public class PushUtils {
|
||||
|
||||
devicePublicKeyBase64 = "-----BEGIN PUBLIC KEY-----\n" + devicePublicKeyBase64 + "\n-----END PUBLIC KEY-----\n";
|
||||
|
||||
Log.d(TAG, "userUtils.getUsers().size(): " + userUtils.getUsers().size());
|
||||
|
||||
if (userUtils.anyUserExists()) {
|
||||
for (Object userEntityObject : userUtils.getUsers()) {
|
||||
UserEntity userEntity = (UserEntity) userEntityObject;
|
||||
|
||||
Log.d(TAG, "userEntity.getUsername(): " + userEntity.getUsername());
|
||||
|
||||
if (!userEntity.getScheduledForDeletion()) {
|
||||
Map<String, String> nextcloudRegisterPushMap = new HashMap<>();
|
||||
nextcloudRegisterPushMap.put("format", "json");
|
||||
@ -270,7 +266,7 @@ public class PushUtils {
|
||||
|
||||
@Override
|
||||
public void onNext(@NonNull PushRegistrationOverall pushRegistrationOverall) {
|
||||
Log.d(TAG, "pushToken successfully registered at nextcloud server.");
|
||||
Log.d(TAG, "pushTokenHash successfully registered at nextcloud server.");
|
||||
|
||||
Map<String, String> proxyMap = new HashMap<>();
|
||||
proxyMap.put("pushToken", token);
|
||||
|
Loading…
Reference in New Issue
Block a user