mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fediverse: Remove nick prefix from snarfer output.
This commit is contained in:
parent
83c49ec43a
commit
2fe9bedb86
@ -298,7 +298,7 @@ class Fediverse(callbacks.PluginRegexp):
|
|||||||
# Be silent on errors
|
# Be silent on errors
|
||||||
return
|
return
|
||||||
|
|
||||||
irc.reply(self._format_profile(irc, msg, actor))
|
irc.reply(self._format_profile(irc, msg, actor), prefixNick=False)
|
||||||
|
|
||||||
usernameSnarfer.__doc__ = _username_regexp.pattern
|
usernameSnarfer.__doc__ = _username_regexp.pattern
|
||||||
|
|
||||||
@ -338,7 +338,9 @@ class Fediverse(callbacks.PluginRegexp):
|
|||||||
"Note",
|
"Note",
|
||||||
"Announce",
|
"Announce",
|
||||||
):
|
):
|
||||||
irc.reply(self._format_status(irc, msg, resource))
|
irc.reply(
|
||||||
|
self._format_status(irc, msg, resource), prefixNick=False
|
||||||
|
)
|
||||||
except ap.ActivityPubError:
|
except ap.ActivityPubError:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user