Skip to content

When Alice (a fediverse actor) tries to follow a writefreely actor (Bob) and Alice already follows Bob then writefreely crashes. #159

@qwazix

Description

@qwazix

Describe the bug

When a follow is already registered in the writefreely database, repeating the follow request crashes writefreely

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Follow a writefreely author from an instance you control
  2. Fool your instance to think step 1 never happened (remove the follow from the database)
  3. Repeat 1
  4. Observe writefreely crash

Expected behavior

Nothing probably. Or maybe refresh the public key with the new one?

Application configuration

  • Single mode
  • sqlite [mysql/sqlite]
  • Open registration? no
  • Federation enabled? yes

Version or last commit: 0.10.0

log of installation, execution and crash with --debug

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