Oops, forgot to add new Discord field to compact messages, fixed that

This commit is contained in:
Frisk 2019-05-02 17:32:17 +02:00
parent 7d820367fb
commit bb345defac
No known key found for this signature in database
GPG key ID: 0E9A7D3C0A01586C

View file

@ -307,6 +307,8 @@ def compact_formatter(action, change, parsed_comment, categories):
field = _("XVL link")
elif change["logparams"]['4:section'] == "profile-link-steam":
field = _("Steam link")
elif change["logparams"]['4:section'] == "profile-link-discord":
field = _("Discord handle")
else:
field = _("unknown")
content = _("[{author}]({author_url}) edited the {field} on [{target}]({target_url})'s profile. *({desc})*").format(author=author,