forked from jmug/stoatchat
fix: don't send self dm notifications (#706)
* fix: don't send self dm notifications Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com> * fix: test failure due to wrong assertion (#707) Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com> * fix: RA auto import moment Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com> --------- Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
@@ -391,6 +391,7 @@ auto_derived!(
|
||||
);
|
||||
|
||||
/// Message Author Abstraction
|
||||
#[derive(Clone)]
|
||||
pub enum MessageAuthor<'a> {
|
||||
User(&'a User),
|
||||
Webhook(&'a Webhook),
|
||||
|
||||
Reference in New Issue
Block a user