[twitter] Add expected wall = 1 for own posts #789

Closed
MrPetovan wants to merge 1 commits from task/notification-add-their-post into develop
MrPetovan commented 2019-01-06 10:13:47 +01:00 (Migrated from github.com)

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.

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.
annando commented 2019-01-06 20:34:27 +01:00 (Migrated from github.com)

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.

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.
MrPetovan commented 2019-01-06 21:28:50 +01:00 (Migrated from github.com)

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.

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.
annando commented 2019-01-06 22:09:17 +01:00 (Migrated from github.com)

I currently want to have a look at others issues at first.

I currently want to have a look at others issues at first.
MrPetovan commented 2019-01-06 22:35:18 +01:00 (Migrated from github.com)

What happens now to this PR then?

What happens now to this PR then?
annando commented 2019-01-06 22:46:25 +01:00 (Migrated from github.com)

I have the feeling that it would create massive side effects, so I wouldn't like to accept it.

I have the feeling that it would create massive side effects, so I wouldn't like to accept it.
MrPetovan commented 2019-01-06 23:11:40 +01:00 (Migrated from github.com)

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.

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

Sign in to join this conversation.
No description provided.