Skip to content

Commit bf8535a

Browse files
committed
React to contact threads were treated like normal contact threads.
1 parent a64b5a4 commit bf8535a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html);
77
however, insignificant breaking changes do not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319). If you're a plugin developer, note the "BREAKING" section.
88

9-
# 3.7.2
9+
# v3.7.3
10+
11+
### Fixed
12+
13+
- React to contact threads were treated like normal contact threads. ([GH #2881](https://github.com/kyb3r/modmail/issues/2881))
14+
15+
# v3.7.2
1016

1117
### Added
1218

13-
- Added `mention_channel_id` to specify which channel `alert_on_mention` was being sent to ([GH #2880](https://github.com/kyb3r/modmail/issues/2880))
19+
- Added `mention_channel_id` to specify which channel `alert_on_mention` was being sent to. ([GH #2880](https://github.com/kyb3r/modmail/issues/2880))
1420

1521
### Fixed
1622

core/thread.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def setup(self, *, creator=None, category=None, initial_message=None):
155155
await channel.edit(topic=f"User ID: {recipient.id}")
156156
self.ready = True
157157

158-
if creator:
158+
if creator != recipient:
159159
mention = None
160160
else:
161161
mention = self.bot.config["mention"]
@@ -191,7 +191,7 @@ async def send_recipient_genesis_message():
191191
embed.set_footer(text=footer, icon_url=self.bot.guild.icon_url)
192192
embed.title = self.bot.config["thread_creation_title"]
193193

194-
if creator is None:
194+
if creator != recipient:
195195
msg = await recipient.send(embed=embed)
196196

197197
if recipient_thread_close:

0 commit comments

Comments
 (0)