2022-10-06 02:29:40 +00:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
(pkgs.matrix-appservice-discord.overrideAttrs (upstream: {
|
|
|
|
# 2022-10-05: the service can't login as an ordinary user unless i change the source
|
|
|
|
doCheck = false;
|
|
|
|
patches = (upstream.patches or []) ++ [
|
2022-10-06 05:02:07 +00:00
|
|
|
# don't register with better-discord as a bot
|
2022-10-06 02:29:40 +00:00
|
|
|
./01-puppet.patch
|
2022-10-06 05:02:07 +00:00
|
|
|
# don't ask Discord admin for approval before bridging
|
|
|
|
./02-auto-approve.patch
|
2022-10-06 08:35:00 +00:00
|
|
|
# disable Matrix -> Discord edits because they do not fit Discord semantics
|
|
|
|
./03-no-edits.patch
|
|
|
|
# we don't want to notify Discord users that a Matrix user was kicked/banned
|
|
|
|
./04-no-kickbans.patch
|
|
|
|
# don't notify Discord users when the Matrix room changes (name, topic, membership)
|
|
|
|
./05-no-meta.patch
|
2022-10-06 02:29:40 +00:00
|
|
|
];
|
|
|
|
}))
|
|
|
|
|