links to FAQ on PMs

pull/17/head
kthouky 2023-08-11 11:53:55 +02:00
parent 92aec808b5
commit 9f72580c6d
3 changed files with 6 additions and 6 deletions

View File

@ -103,7 +103,7 @@ class Endorsements(Resource):
db.session.commit() db.session.commit()
if not database.has_recent_endorsement(target_instance.id): if not database.has_recent_endorsement(target_instance.id):
activitypub_pm.pm_admins( activitypub_pm.pm_admins(
message=f"Your instance has just been endorsed by {instance.domain}", message=f"Your instance has just been [endorsed](https://fediseer.com/faq#what-is-an-endorsement) by {instance.domain}",
domain=target_instance.domain, domain=target_instance.domain,
software=target_instance.software, software=target_instance.software,
instance=target_instance, instance=target_instance,

View File

@ -105,7 +105,7 @@ class Guarantees(Resource):
# db.session.add(new_endorsement) # db.session.add(new_endorsement)
db.session.commit() db.session.commit()
activitypub_pm.pm_admins( activitypub_pm.pm_admins(
message=f"Congratulations! Your instance has just been guaranteed by {instance.domain}. \n\nThis is an automated PM by the [Fediseer](https://fediseer.com) service. Replies will not be read.\nPlease contact @db0@lemmy.dbzer0.com for further inquiries.", message=f"Congratulations! Your instance has just been [guaranteed](https://fediseer.com/faq#what-is-a-guarantee) by {instance.domain}. \n\nThis is an automated PM by the [Fediseer](https://fediseer.com) service. Replies will not be read.\nPlease contact @db0@lemmy.dbzer0.com for further inquiries.",
domain=target_instance.domain, domain=target_instance.domain,
software=target_instance.software, software=target_instance.software,
instance=target_instance, instance=target_instance,
@ -169,8 +169,8 @@ class Guarantees(Resource):
db.session.add(rejection) db.session.add(rejection)
db.session.commit() db.session.commit()
activitypub_pm.pm_admins( activitypub_pm.pm_admins(
message=f"Attention! You guarantor instance {instance.domain} has withdrawn their backing.\n\n" message=f"Attention! You guarantor instance {instance.domain} has withdrawn their [guarantee](https://fediseer.com/faq#what-is-a-guarantee).\n\n"
"IMPORTANT: The instances you vouched for are still considered guaraneed but cannot guarantee or endorse others" "IMPORTANT: The instances you vouched for are still considered guaranteed but cannot guarantee or endorse others"
"If you find a new guarantor then your guarantees will be reactivated!.\n\n" "If you find a new guarantor then your guarantees will be reactivated!.\n\n"
"Note that if you do not find a guarantor within 7 days, all your guarantees and endorsements will be removed.", "Note that if you do not find a guarantor within 7 days, all your guarantees and endorsements will be removed.",
domain=target_instance.domain, domain=target_instance.domain,

View File

@ -1,6 +1,6 @@
FEDISEER_VERSION = "0.5.1" FEDISEER_VERSION = "0.7.0"
SUPPORTED_SOFTWARE = [ SUPPORTED_SOFTWARE = [
"lemmy", "lemmy",
"mastodon", "mastodon",
"friendica", "friendica",
] ]