mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
avoid incorrectly flagging nodebb activities as duplicates #110
This commit is contained in:
parent
6c98d94555
commit
dcc29596ed
3 changed files with 9 additions and 1 deletions
|
@ -431,7 +431,7 @@ def shared_inbox():
|
|||
log_incoming_ap(id, APLOG_DUPLICATE, APLOG_IGNORED, saved_json, 'Activity about local content which is already present')
|
||||
return '', 200
|
||||
|
||||
id = object['id']
|
||||
# id = object['id']
|
||||
|
||||
redis_client = get_redis_connection()
|
||||
if redis_client.exists(id): # Something is sending same activity multiple times
|
||||
|
|
|
@ -1475,6 +1475,10 @@ fieldset legend {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.post_body {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.post_body, .comment_body {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
|
|
@ -1143,6 +1143,10 @@ fieldset {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.post_body {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.post_body, .comment_body {
|
||||
word-wrap: break-word;
|
||||
|
||||
|
|
Loading…
Reference in a new issue