[twitter] Add expected wall = 1 for own posts #789
No reviewers
Labels
No Label
2018.09
2019.01
2019.03
2019.06
2019.09
2019.12
2020.03
2020.06
2020.09
2020.12
2021.03
2021.07
2021.09
2022.02
2022.06
2022.09
2022.12
2023.04
2023.05
2023.09
2024.03
2024.06
dependencies
Hackathon 2021
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-addons#789
Loading…
Reference in New Issue
No description provided.
Delete Branch "task/notification-add-their-post"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pendant to https://github.com/friendica/friendica/pull/6389
Fixes a issue where own Twitter posts aren't recognized as being our own in the notification process.
This "wall" value is used - for example - to display the item on the profile page. I would vote for other mechanism to detect this.
We are calling this hook here: https://github.com/friendica/friendica/blob/develop/include/enotify.php#L680
With this we do know the author names that we are using. So we do know which posts are ours.
The actual definition of what constitutes "our" posts is defined here:
https://github.com/friendica/friendica/blob/develop/include/enotify.php#L182
If it isn't accurate, please update the condition accordingly.
I currently want to have a look at others issues at first.
What happens now to this PR then?
I have the feeling that it would create massive side effects, so I wouldn't like to accept it.
It's okay, Twitter post will have the previous behavior which was to repeat the name of the top-level author almost no matter what.
Pull request closed