Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

patent10021

macrumors 68040
Original poster
Apr 23, 2004
3,552
834
I have a Obj-C chat app and have an issue.

Here's the current auth sequence.

1. A user requests my auth to add them
2. I click the green 'request agreed' button
3. I click the x on their picture to get rid of them from the auth window since I agreed.
4. The window is correctly blank because I've deleted those users I've agreed to.
5. 30 minutes later the same person's pic comes back

rinse and repeat.

Why is their pic / request coming back even though I've already agreed?

This doesn't seem like it would be a backend issue because the user is indeed already a chat partner since I've clicked agree. They are indeed now on my friend list. But their picture / request is coming back.
 
Last edited:
I have a Obj-C chat app and have an issue.

Here's the current auth sequence.

1. A user requests my auth to add them
2. I click the green 'request agreed' button
3. I click the x on their picture to get rid of them from the auth window since I agreed.
4. The window is correctly blank because I've deleted those users I've agreed to.
5. 30 minutes later the same person's pic comes back

rinse and repeat.

Why is their pic / request coming back even though I've already agreed?

This doesn't seem like it would be a backend issue because the user is indeed already a chat partner since I've clicked agree. They are indeed now on my friend list. But their picture / request is coming back.
Would need to see actual code to answer this question. There are several potential mistakes that can cause stuff like this. I would specifically need to see the code that loads the data to determine who shows up.
 
In addition to posting the code as AxoNeuron suggested, are you using a 3rd part API or some open source routines or maybe some sample code from a tutorial? If so, maybe post a link to the tools you're using.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.