mirror of
https://codeberg.org/cage/tinmop/
synced 2025-06-05 01:09:17 +02:00
- added 'local-user-acct';
- moved 'get-following' from api-pleroma to api-mastodon (this endpoint is not specific to pleroma).
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
(defun main ()
|
||||
(connect)
|
||||
(db-utils:with-ready-database (:connect t)
|
||||
(let* ((username (db:acct->id (swconf:config-username)))
|
||||
(let* ((username (swconf:config-username))
|
||||
(local-server-name (swconf:config-server-name))
|
||||
(follows-accounts (api-pleroma:get-following username)))
|
||||
(user-acct (api-client:local-user-acct))
|
||||
(follows-accounts (api-client:get-following user-acct)))
|
||||
(loop for account in follows-accounts do
|
||||
(let ((acct (tooter:account-name account)))
|
||||
(if (scan "@" acct)
|
||||
|
||||
Reference in New Issue
Block a user