Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
4976a8b0
Commit
4976a8b0
authored
Dec 08, 2018
by
lain
Browse files
Merge branch 'fix/typo-relay-ex' into 'develop'
[
#283
] Mix Tasks: Fix a typo in relay.ex See merge request
!522
parents
7d86c0c5
6c73136a
Pipeline
#5111
passed with stages
in 5 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/mix/tasks/pleroma/relay.ex
View file @
4976a8b0
...
...
@@ -33,7 +33,7 @@ def run(["follow", target]) do
def
run
([
"unfollow"
,
target
])
do
Common
.
start_pleroma
()
with
{
:ok
,
activity
}
<-
Relay
.
follow
(
target
)
do
with
{
:ok
,
activity
}
<-
Relay
.
un
follow
(
target
)
do
# put this task to sleep to allow the genserver to push out the messages
:timer
.
sleep
(
500
)
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment