projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/public-option-not-working' into 'develop'
[akkoma]
/
lib
/
pleroma
/
flake_id.ex
diff --git
a/lib/pleroma/flake_id.ex
b/lib/pleroma/flake_id.ex
index 4259d57189bec86d537a345c1b9d3036a86cbd07..58ab3650dc952de4465c30a77cbcf78f06b11e66 100644
(file)
--- a/
lib/pleroma/flake_id.ex
+++ b/
lib/pleroma/flake_id.ex
@@
-46,7
+46,7
@@
defmodule Pleroma.FlakeId do
def from_string(string) when is_binary(string) and byte_size(string) < 18 do
case Integer.parse(string) do
def from_string(string) when is_binary(string) and byte_size(string) < 18 do
case Integer.parse(string) do
- {id,
_
} -> <<0::integer-size(64), id::integer-size(64)>>
+ {id,
""
} -> <<0::integer-size(64), id::integer-size(64)>>
_ -> nil
end
end
_ -> nil
end
end