projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#1892] Excluded internal users (applications) from user search results, reinstated...
[akkoma]
/
lib
/
pleroma
/
ecto_enums.ex
diff --git
a/lib/pleroma/ecto_enums.ex
b/lib/pleroma/ecto_enums.ex
index d9b60122376ec708ee95165d027b27984aced627..6fc47620c7760c74d85a4b0be04656920a924550 100644
(file)
--- a/
lib/pleroma/ecto_enums.ex
+++ b/
lib/pleroma/ecto_enums.ex
@@
-4,10
+4,16
@@
import EctoEnum
import EctoEnum
-defenum(
UserRelationshipTypeEnum
,
+defenum(
Pleroma.UserRelationship.Type
,
block: 1,
mute: 2,
reblog_mute: 3,
notification_mute: 4,
inverse_subscription: 5
)
block: 1,
mute: 2,
reblog_mute: 3,
notification_mute: 4,
inverse_subscription: 5
)
+
+defenum(Pleroma.FollowingRelationship.State,
+ follow_pending: 1,
+ follow_accept: 2,
+ follow_reject: 3
+)