maubot / gitlab

A GitLab client and webhook receiver for maubot.
GNU Affero General Public License v3.0
95 stars 30 forks source link

gitlab_hook.py: fixed "past_tense" function #38

Closed cmuller closed 4 years ago

cmuller commented 4 years ago

The elif action[-2:-1] != "ed" test is always true because the right test should use action[-2:] in the comparison.

This should fix #37.

Tested with:

sumnerevans commented 4 years ago

I'm curious, do you know when this will get deployed to t2bot?