Skip to content

removing a friend when they haven' accepted an invite, fails. #767

@Jomack16

Description

@Jomack16

Found that the REMOVEINVITE variable in myplex.py had a URL of "'https://plex.tv/api/invites/requested/{userId}?friend=1&server=1&home=1'"

Because REMOVEINVITE is the alternative when evaluating user.friend to False on line 384 of myplex.py, the URL should read: "'https://plex.tv/api/invites/requested/{userId}?friend=1&server=1&home=0'"

Verified this by manually removing a user that hadn't accepted an invite, while watching the call that was made in DevTools.
An example of those request headers is attached.

RemoveUserThatHasntAcceptedInvite-REQUEST HEADERS EXAMPLE.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions