Skip to content

Commit

Permalink
Antidote on iphones no longer supports push sadly. so we remove this …
Browse files Browse the repository at this point in the history
…part
  • Loading branch information
zoff99 committed Sep 6, 2024
1 parent 846c53d commit 5573baf
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1425,20 +1425,6 @@ public void run()
{
friend_do_actual_weburl_call(friend_pubkey, pushurl_for_friend,
message_timestamp_circa, true);
// HINT: trigger push again after PUSH_URL_TRIGGER_AGAIN_SECONDS seconds to
// make sure iphones actually get online and receive the message
boolean res = false;
for (int j = 0; j < PUSH_URL_TRIGGER_AGAIN_MAX_COUNT; j++)
{
Thread.sleep(PUSH_URL_TRIGGER_AGAIN_SECONDS * 1000);
res = friend_do_actual_weburl_call(friend_pubkey, pushurl_for_friend,
message_timestamp_circa, false);
if (res)
{
Log.i(TAG, "friend_call_push_url:BREAK");
break;
}
}
}
catch (Exception e)
{
Expand Down

0 comments on commit 5573baf

Please sign in to comment.