We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed6ef63 commit aa5cb55Copy full SHA for aa5cb55
server.py
@@ -99,6 +99,10 @@ async def github(request):
99
if hook_type == "push":
100
commits = request.json["commits"]
101
user = request.json["pusher"]["name"]
102
+ # Add an invisible character to prevent pinging the user
103
+ # if their Matrix and github nickname are the same
104
+ user = user[1] + '' + user[1:]
105
+
106
branch = request.json["ref"].split("/", 2)[2]
107
108
if len(commits) == 1:
0 commit comments