Commit 20e7ae3
committed
fix: Allow ?logs [user] command to be used outside of Modmail threads
When the logs command is used with a user argument, the current version
of Modmail requires the command to be run in a Modmail thread.
This behavior change appears to have been introduced with commit
9d4b8e3 as previous versions allowed the command to be used outside
of Modmail threads.
The other logs commands (closed-by, delete, key, responded, search) do
not require the command to be run in a thread. The ?logs [user] command
should behave the same way as it did before.1 parent 46efff7 commit 20e7ae3
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
1204 | 1203 | | |
1205 | 1204 | | |
1206 | 1205 | | |
| |||
0 commit comments