File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -2468,14 +2468,12 @@ static void do_friends(Messenger *m, void *userdata)
24682468 }
24692469 }
24702470
2471- if (m -> friendlist [i ].status == FRIEND_REQUESTED
2472- || m -> friendlist [i ].status == FRIEND_CONFIRMED ) { /* friend is not online. */
2473- if (m -> friendlist [i ].status == FRIEND_REQUESTED ) {
2474- /* If we didn't connect to friend after successfully sending him a friend request the request is deemed
2475- * unsuccessful so we set the status back to FRIEND_ADDED and try again.
2476- */
2477- check_friend_request_timed_out (m , i , temp_time , userdata );
2478- }
2471+ if (m -> friendlist [i ].status == FRIEND_REQUESTED ) {
2472+ /* If we didn't connect to friend after successfully sending him a friend
2473+ * request the request is deemed unsuccessful so we set the status back to
2474+ * FRIEND_ADDED and try again.
2475+ */
2476+ check_friend_request_timed_out (m , i , temp_time , userdata );
24792477 }
24802478
24812479 if (m -> friendlist [i ].status == FRIEND_ONLINE ) { /* friend is online. */
You can’t perform that action at this time.
0 commit comments