Skip to content

Commit bdb9063

Browse files
committed
fix calling push url too many times in some cases
1 parent 2c1945f commit bdb9063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/HelperMessage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,7 @@ static void update_message_in_db_sent_push_set(final String friend_pubkey, final
12791279
sent_timestampBetween(sent_timestamp - PUSH_URL_TRIGGER_GET_MESSAGE_FOR_delta_ms_prev,
12801280
sent_timestamp + PUSH_URL_TRIGGER_GET_MESSAGE_FOR_delta_ms_after).
12811281
directionEq(1).
1282+
sent_pushEq(0).
12821283
orderBySent_timestampAsc().
12831284
limit(1).toList().get(0);
12841285

0 commit comments

Comments
 (0)