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

Differentiate blocked users #35

Closed
losuler opened this issue Feb 14, 2017 · 6 comments
Closed

Differentiate blocked users #35

losuler opened this issue Feb 14, 2017 · 6 comments
Assignees
Labels

Comments

@losuler
Copy link

losuler commented Feb 14, 2017

Issue description

Currently blocked users are indistinguishable from other offline friends.

Suggestions

Potential ways I think this could be dealt with are:

  • Altering their status to "Blocked" with the text colored red (similar to how they appear on the steam web interface, as seen here).

  • Hiding them from the friends list all together (this is how the Steam client manages it).

@scholtzm
Copy link
Owner

Thank you for your suggestions, I'll probably go with option number two. Just need to find someone to block. 😄

@scholtzm
Copy link
Owner

It's been a while since this report but I finally looked at this and I'm not able to reproduce this behaviour.

There are 4 people who I permanently blocked, they do not appear in my Punk friends list.

I have also tried blocking my friend, his name instantly disappeared from Punk friends list. After unblocking him via steamcommunity.com, his name instantly reappears in my friends list.

Can you provide steps to reproduce this behaviour?

@losuler
Copy link
Author

losuler commented Jun 13, 2017

In looking into this, these were the following steps I took and the observations I made from them.

  • Blocked a friend with Punk.

    • They disappear from Punk's friends list.
    • They cannot be unblocked with Punk (as they remain hidden, even after subsequent restarts).
    • They appear in the Steam client's friends list at the bottom in white, with the status Blocked.
  • Blocked a friend with the Steam client.

    • They appear in Punk's friends list as offline and in alphabetical order (with other offline friends).
    • They cannot be unblocked with Punk (right click menu assumes they are any other offline friend).
    • They appear in the Steam client's friends list at the bottom in white, with the status Blocked.

Note: To ensure my observations weren't effected in anyway by #36, I made sure neither clients were running simultaneously. I also newly cloned and built Punk before I went ahead with the above.

Now beyond this, I discovered that people that I had blocked but which were not still my friends appeared in Punk at the bottom of the friends list as offline. Whereas in the Steam client these people didn't appear in my friends list at all, and were only accessible through the Steam website under Profile >> Friends >> Blocked List.

@scholtzm
Copy link
Owner

Thank you for a very thorough description, I will look into it this week. 👍

@scholtzm
Copy link
Owner

scholtzm commented Jun 18, 2017

@losuler

Ok, so I have been digging into this issue and I managed to reproduce all 3 cases you described. Handling of blocked users is broken right now and I'll need to do some adjustments to personastate plugin which handles the friends list.

Relevant bits from SteamKit:
https://github.com/SteamRE/SteamKit/blob/master/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/SteamFriends.cs#L737
https://github.com/SteamRE/SteamKit/blob/master/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/SteamFriends.cs#L647

@scholtzm scholtzm self-assigned this Jun 18, 2017
@scholtzm
Copy link
Owner

Should be fixed in e6c4bff @ master.

Next release will contain this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants