Commit 6c327667 authored by Lysander Trischler's avatar Lysander Trischler

Use very short hashes when replying

According to prologic this is now the norm for yarnd. The parser already
handles them as well, so nothing to do other than changing the compose
form.
parent 8df3991b
......@@ -446,8 +446,7 @@ class TwtForm(urwid.ListBox, TwtFormatter):
if original_twt:
authors = "".join(["@<%s %s> " % (a.nick, a.url)
for a in self._collect_authors(original_twt)])
subject = "(#<%s %s>) " % (original_twt.hash,
"https://twtxt.net/conv/%s" % original_twt.hash)
subject = "(#%s) " % original_twt.hash
text = authors + subject
else:
text = ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment