Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't suggest profile photo to user that not added me to contacts #25739

Closed
Neurotoxin001 opened this issue Jan 16, 2023 · 8 comments
Closed
Labels

Comments

@Neurotoxin001
Copy link
Contributor

Steps to reproduce

  1. Add user to contacts.
  2. You should not be in this user contacts
  3. Click on user photo
  4. There is no "suggest profile photo" button

TDesktop, user has not added me to his contacts:
https://user-images.githubusercontent.com/39812401/212612775-bdecf2f0-52a9-48da-bc7b-9c389f6f466a.png

TDesktop, user added me to his contacts, without sharing a phonenumber:
https://user-images.githubusercontent.com/39812401/212612790-a42b6dd8-d468-4937-839a-eb1939b72325.png

iOS:
https://user-images.githubusercontent.com/39812401/212612714-3a48f3e7-5f9f-4ac9-94a9-a355761f368c.png

Expected behaviour

The "suggest profile photo" button should be present even if the user has not added you to his contacts. On iOS I have this button for these users.

Actual behaviour

There is no "suggest profile photo" button if the user has not added you to his contacts (even without "share my phone number" checkbox)

Operating system

Windows 10

Version of Telegram Desktop

4.5.7 beta

Installation source

Static binary from official website

Logs

No response

@github-actions
Copy link

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

@github-actions github-actions bot added the stale label Jul 16, 2023
@Neurotoxin001
Copy link
Contributor Author

+

@github-actions github-actions bot removed the stale label Jul 17, 2023
@john-preston
Copy link
Member

@Neurotoxin001 in code it says that server allows suggesting photos in non-empty chats, unrelated to contact status. Does it happen that way?

@Neurotoxin001
Copy link
Contributor Author

Neurotoxin001 commented Aug 11, 2023

Checked it right now. Button "suggest profile photo" appears only if my contact write me some message, even if he don't add me to contacts and we don't share our phone numbers. So it's not a bug?

@Neurotoxin001
Copy link
Contributor Author

But on iOS "suggest profile photo" button available even with contacts that I don't have any messages

@john-preston
Copy link
Member

@Neurotoxin001 Does it work though? Can the photo suggestion be the all-time-first message in a chat with a guy?

@Neurotoxin001
Copy link
Contributor Author

Does it work though? Can the photo suggestion be the all-time-first message in a chat with a guy?

No…

IMG_3128_Q.mp4

@john-preston
Copy link
Member

@Neurotoxin001 Well, then you can close the issue and report it to iOS app =)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants