aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ircbot/install-webhook.sh
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-07-28 21:06:31 +0200
committerRobin Jarry <robin@jarry.cc>2023-07-28 21:08:35 +0200
commit8971f6edaeb5a6f3c08a3b00354ea15eb0707359 (patch)
treecef189e3c11853cabfad893e739c1a47afe9b0ec /contrib/ircbot/install-webhook.sh
parent81f523791c0e9bdb3b20b50eefaf5c96c94128bb (diff)
downloadaerc-8971f6edaeb5a6f3c08a3b00354ea15eb0707359.tar.gz
contrib: actually fix irc patchset hook when author is not registered
When the author is not registered in sr.ht, the schema object is different. Fixes: 3a73ffb40ed1 ("contrib: fix irc patchset hook when author is not registered") Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'contrib/ircbot/install-webhook.sh')
-rwxr-xr-xcontrib/ircbot/install-webhook.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/ircbot/install-webhook.sh b/contrib/ircbot/install-webhook.sh
index 3c0c5bcb..1f8f12dd 100755
--- a/contrib/ircbot/install-webhook.sh
+++ b/contrib/ircbot/install-webhook.sh
@@ -27,8 +27,10 @@ query {
submitter {
... on User {
canonicalName
- username
- email
+ }
+ ... on Mailbox {
+ name
+ address
}
}
}