Fixed `scopes` of apps / authorizations / tokens from apps initially created with space-delimited `scope`
Fixes #660 (closed)
Fixed scopes of apps / authorizations / tokens from apps initially created with space-delimited scope.
Pleroma was creating apps records with comma-delimited scope but external apps could provide space-delimited scope (which is in fact per OAuth specification). This PR resolves issues with migrating such apps and their authorizations / tokens.
Edited by Ivan Tashkinov