Fediverse: Remove nick prefix from snarfer output.

This commit is contained in:
Valentin Lorentz 2020-05-16 23:15:11 +02:00
parent 83c49ec43a
commit 2fe9bedb86

View File

@ -298,7 +298,7 @@ class Fediverse(callbacks.PluginRegexp):
# Be silent on errors
return
irc.reply(self._format_profile(irc, msg, actor))
irc.reply(self._format_profile(irc, msg, actor), prefixNick=False)
usernameSnarfer.__doc__ = _username_regexp.pattern
@ -338,7 +338,9 @@ class Fediverse(callbacks.PluginRegexp):
"Note",
"Announce",
):
irc.reply(self._format_status(irc, msg, resource))
irc.reply(
self._format_status(irc, msg, resource), prefixNick=False
)
except ap.ActivityPubError:
return