From 01b8c44814411c0e222973f9136884290c09ae31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Tue, 6 Mar 2018 11:17:59 +0100 Subject: [PATCH] utils: Fix typo in tags formatting function. --- matrix/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/utils.py b/matrix/utils.py index d30364c..d9a4f67 100644 --- a/matrix/utils.py +++ b/matrix/utils.py @@ -170,7 +170,7 @@ def add_event_tags(event_id, nick, color, tags): tags = tags_for_message("message") tags.append("nick_{nick}".format(nick=nick)) - tags.append("perfix_nick_{color}".format(color=color_for_tags(color))) + tags.append("prefix_nick_{color}".format(color=color_for_tags(color))) tags.append("matrix_id_{event_id}".format(event_id=event_id)) return tags