diff --git a/community/weechat-matrix/APKBUILD b/community/weechat-matrix/APKBUILD index cd69b9f3426..4d1e5af145e 100644 --- a/community/weechat-matrix/APKBUILD +++ b/community/weechat-matrix/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Clayton Craft pkgname=weechat-matrix pkgver=0.3.0_git20230723 -pkgrel=4 +pkgrel=5 _commit="feae9fda26ea9de98da9cd6733980a203115537e" pkgdesc="WeeChat Matrix protocol script" url="https://github.com/poljar/weechat-matrix" @@ -41,6 +41,7 @@ checkdepends=" install="$pkgname.post-install" subpackages="$pkgname-pyc" source="$pkgname-$_commit.tar.gz::https://github.com/poljar/weechat-matrix/archive/$_commit.tar.gz + heisenbridge_shortname.patch poetry-core.patch " builddir="$srcdir/$pkgname-$_commit" @@ -66,5 +67,6 @@ package() { sha512sums=" 85b2d6a9a5d393d265cf7d92bb48cf846a68319372e81121d1cedb74a184320df5cee4b0a66a5f88168e297b212f781634f65a4f4a5092ab3e64972428a76ea0 weechat-matrix-feae9fda26ea9de98da9cd6733980a203115537e.tar.gz +ebe210f88708e91a293a5c00f324263b32c418f9033c58c7afa8c8cf03d805eb3ac54f902a4f655d2d26ace8267d02063cc86d4d75f320f63a14c3964cbe2fea heisenbridge_shortname.patch d28d2a55daddae3319fcc4ceccf2b06826dc9af0b4ec76aa3f843008954b5c9a2e24aa7aecc8d480753a1355c5dbd104ceefc0a9a87c9e9e5f4dddca52fec9f7 poetry-core.patch " diff --git a/community/weechat-matrix/heisenbridge_shortname.patch b/community/weechat-matrix/heisenbridge_shortname.patch new file mode 100644 index 00000000000..efb03167a04 --- /dev/null +++ b/community/weechat-matrix/heisenbridge_shortname.patch @@ -0,0 +1,24 @@ +From d96c4b6c1c375698764bcee8759df281b1c11c77 Mon Sep 17 00:00:00 2001 +From: gardar +Date: Sat, 21 Jan 2023 01:45:38 +0000 +Subject: [PATCH] fix: add heisenbridge default shortname from ansible role + +Signed-off-by: gardar +--- + matrix/buffer.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/matrix/buffer.py b/matrix/buffer.py +index ce981b1..3f48f80 100644 +--- a/matrix/buffer.py ++++ b/matrix/buffer.py +@@ -1076,7 +1076,8 @@ def add_user(self, user_id, date, is_state, force_add=False): + user.user_id.startswith("@signal_") or + user.user_id.startswith("@_telegram_") or + user.user_id.startswith("@_xmpp_") or +- user.user_id.startswith("@irc_")): ++ user.user_id.startswith("@irc_") or ++ user.user_id.startswith("@hbirc_")): + if user.display_name: + short_name = user.display_name[0:50] + elif user.user_id.startswith("@twilio_"):