summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/kalauerbot/matrixbot.patch
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-16 22:28:13 +0200
committermakefu <github@syntax-fehler.de>2020-09-16 22:28:13 +0200
commit3a93c400a3f8e58a4d10ae743fbdbada216d8641 (patch)
tree293aecc1c396d19c96599a8103878425c474b9c4 /makefu/5pkgs/kalauerbot/matrixbot.patch
parentce41b987239abbac0f817a9ae1f7019ad9f4035a (diff)
ma pkgs.kalauerbot: init
Diffstat (limited to 'makefu/5pkgs/kalauerbot/matrixbot.patch')
-rw-r--r--makefu/5pkgs/kalauerbot/matrixbot.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/5pkgs/kalauerbot/matrixbot.patch b/makefu/5pkgs/kalauerbot/matrixbot.patch
new file mode 100644
index 00000000..2b9bbbea
--- /dev/null
+++ b/makefu/5pkgs/kalauerbot/matrixbot.patch
@@ -0,0 +1,12 @@
+diff --git a/matrixbot/matrixbot.py b/matrixbot/matrixbot.py
+index 8e5598c..d8c23d2 100644
+--- a/matrixbot/matrixbot.py
++++ b/matrixbot/matrixbot.py
+@@ -51,7 +51,6 @@ class MatrixBot:
+ self.user = None
+ if self.token is not None and self.user_id is not None:
+ self.user = self.client.get_user(self.user_id)
+- self.user.set_display_name(self.display_name)
+ self.init_rooms(self.client.rooms)
+ self.invite_listener = self.client.add_invite_listener(self.handle_invite)
+ self.cache = Cache(dbfile=cache_db)