File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
9
9
-NaN
10
10
11
11
### Added
12
- - Search for messages by message id
12
+ - Search for messages by message-Id
13
+ - Search for messages by In-Reply-To
13
14
14
15
### Affected Classes
15
16
- [ Query::class] ( src/Query/Query.php )
Original file line number Diff line number Diff line change @@ -436,6 +436,17 @@ public function whereMessageId($messageId){
436
436
return $ this ->whereHeader ("Message-ID " , $ messageId );
437
437
}
438
438
439
+ /**
440
+ * Search for a specific message id
441
+ * @param $messageId
442
+ *
443
+ * @return WhereQuery
444
+ * @throws InvalidWhereQueryCriteriaException
445
+ */
446
+ public function whereInReplyTo ($ messageId ){
447
+ return $ this ->whereHeader ("In-Reply-To " , $ messageId );
448
+ }
449
+
439
450
/**
440
451
* @param $country_code
441
452
*
You can’t perform that action at this time.
0 commit comments